db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1025498 - in /db/derby/code/trunk/java/engine/org/apache/derby: impl/services/monitor/BaseMonitor.java loc/messages.xml
Date Wed, 20 Oct 2010 11:06:50 GMT
Author: kahatlen
Date: Wed Oct 20 11:06:49 2010
New Revision: 1025498

URL: http://svn.apache.org/viewvc?rev=1025498&view=rev
Log:
DERBY-4755: Add a space between the timestamp and the shutdown engine message

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
    db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java?rev=1025498&r1=1025497&r2=1025498&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/BaseMonitor.java
Wed Oct 20 11:06:49 2010
@@ -110,7 +110,6 @@ abstract class BaseMonitor
 	private HashMap serviceProviders = new HashMap();
 	private static final String LINE = 
         "----------------------------------------------------------------";
-    private final static char COLON = ':';
 
 	// Vector of class objects of implementations, found in the System, application
 	// and default (modules.properties) properties
@@ -170,9 +169,10 @@ abstract class BaseMonitor
  
 		Monitor.getStream().println(LINE);
 		//Make a note of Engine shutdown in the log file
-		Monitor.getStream().println(new Date() + 
+		Monitor.getStream().println(
                 MessageService.getTextMessage(
-                    MessageId.CONN_SHUT_DOWN_ENGINE));
+                    MessageId.CONN_SHUT_DOWN_ENGINE,
+                    new Date().toString()));
 
 		if (SanityManager.DEBUG && reportOn) {
 			report("Shutdown request");

Modified: db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml?rev=1025498&r1=1025497&r2=1025498&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/loc/messages.xml Wed Oct 20 11:06:49
2010
@@ -7635,7 +7635,8 @@ Shutting down instance {0} on database d
 
             <msg>
                 <name>J003</name>
-                <text>:Shutting down Derby Engine</text>
+                <text>{0}: Shutting down Derby Engine</text>
+                <arg>timestamp</arg>
             </msg>
 
             <msg>



Mime
View raw message