commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1073778 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Date Wed, 23 Feb 2011 15:26:57 GMT
Author: ggregory
Date: Wed Feb 23 15:26:56 2011
New Revision: 1073778

URL: http://svn.apache.org/viewvc?rev=1073778&view=rev
Log:
Match variable name to other copyData method for consistency.

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java?rev=1073778&r1=1073777&r2=1073778&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Wed Feb 23 15:26:56 2011
@@ -220,9 +220,9 @@ public class ColognePhonetic implements 
         }
 
         protected char[] copyData(int start, final int length) {
-            char[] retData = new char[length];
-            System.arraycopy(data, start, retData, 0, length);
-            return retData;
+            char[] newData = new char[length];
+            System.arraycopy(data, start, newData, 0, length);
+            return newData;
         }
     }
 



Mime
View raw message