harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r501092 - /harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
Date Mon, 29 Jan 2007 16:33:25 GMT
Author: tellison
Date: Mon Jan 29 08:33:25 2007
New Revision: 501092

URL: http://svn.apache.org/viewvc?view=rev&rev=501092
Log:
Apply patch HARMONY-2414 ([classlib][logging]Compatibility: message format of java.util.logging.Logger.log()
on Harmony diffes from RI message)

Modified:
    harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java

Modified: harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java?view=diff&rev=501092&r1=501091&r2=501092
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
Mon Jan 29 08:33:25 2007
@@ -42,9 +42,9 @@
         StringBuilder sb = new StringBuilder();
         sb.append(MessageFormat.format("{0, date} {0, time} ", //$NON-NLS-1$
                 new Object[] { new Date(r.getMillis()) }));
-        sb.append(r.getLevel().getName()).append(" "); //$NON-NLS-1$
-        sb.append(r.getSourceClassName()).append("."); //$NON-NLS-1$
-        sb.append(r.getSourceMethodName()).append(": "); //$NON-NLS-1$
+        sb.append(r.getSourceClassName()).append(" "); //$NON-NLS-1$
+        sb.append(r.getSourceMethodName()).append(LogManager.getSystemLineSeparator()); //$NON-NLS-1$
+        sb.append(r.getLevel().getName()).append(": "); //$NON-NLS-1$
         sb.append(formatMessage(r)).append(LogManager.getSystemLineSeparator());
         if (null != r.getThrown()) {
             sb.append("Throwable occurred: "); //$NON-NLS-1$



Mime
View raw message