logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1577209 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
Date Thu, 13 Mar 2014 15:43:52 GMT
Author: ggregory
Date: Thu Mar 13 15:43:51 2014
New Revision: 1577209

URL: http://svn.apache.org/r1577209
Log:
Simplify.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java?rev=1577209&r1=1577208&r2=1577209&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginManager.java
Thu Mar 13 15:43:51 2014
@@ -195,8 +195,7 @@ public class PluginManager {
         }
         long elapsed = System.nanoTime() - start;
         plugins = pluginTypeMap.get(type);
-        final StringBuilder sb = new StringBuilder("Generated plugins");
-        sb.append(" in ");
+        final StringBuilder sb = new StringBuilder("Generated plugins in ");
         DecimalFormat numFormat = new DecimalFormat("#0");
         final long seconds = elapsed / NANOS_PER_SECOND;
         elapsed %= NANOS_PER_SECOND;



Mime
View raw message