logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1563036 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/helpers/CyclicBuffer.java
Date Fri, 31 Jan 2014 02:32:05 GMT
Author: ggregory
Date: Fri Jan 31 02:32:04 2014
New Revision: 1563036

URL: http://svn.apache.org/r1563036
Log:
Don't hide ivar with same param name.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/helpers/CyclicBuffer.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/helpers/CyclicBuffer.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/helpers/CyclicBuffer.java?rev=1563036&r1=1563035&r2=1563036&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/helpers/CyclicBuffer.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/helpers/CyclicBuffer.java
Fri Jan 31 02:32:04 2014
@@ -45,8 +45,8 @@ public class CyclicBuffer<T> {
     }
 
     @SuppressWarnings("unchecked")
-    private T[] makeArray(final Class<T> clazz, final int size) {
-        return (T[]) Array.newInstance(clazz, size);
+    private T[] makeArray(final Class<T> cls, final int size) {
+        return (T[]) Array.newInstance(cls, size);
     }
 
     /**



Mime
View raw message