commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1715352 - in /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine: logging/behavior/ICacheEventLogger.java stats/StatElement.java
Date Fri, 20 Nov 2015 13:20:48 GMT
Author: tv
Date: Fri Nov 20 13:20:48 2015
New Revision: 1715352

URL: http://svn.apache.org/viewvc?rev=1715352&view=rev
Log:
Misc.

Modified:
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/logging/behavior/ICacheEventLogger.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/stats/StatElement.java

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/logging/behavior/ICacheEventLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/logging/behavior/ICacheEventLogger.java?rev=1715352&r1=1715351&r2=1715352&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/logging/behavior/ICacheEventLogger.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/logging/behavior/ICacheEventLogger.java
Fri Nov 20 13:20:48 2015
@@ -28,6 +28,7 @@ package org.apache.commons.jcs.engine.lo
  */
 public interface ICacheEventLogger
 {
+	// TODO: Use enum
     /** ICache update */
     String UPDATE_EVENT = "update";
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/stats/StatElement.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/stats/StatElement.java?rev=1715352&r1=1715351&r2=1715352&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/stats/StatElement.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/stats/StatElement.java
Fri Nov 20 13:20:48 2015
@@ -98,7 +98,7 @@ public class StatElement<V>
     public String toString()
     {
         StringBuilder buf = new StringBuilder();
-        buf.append( name + " = " + data );
+        buf.append( name ).append(" = ").append( data );
         return buf.toString();
     }
 }



Mime
View raw message