commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1063389 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Date Tue, 25 Jan 2011 18:26:04 GMT
Author: ggregory
Date: Tue Jan 25 18:26:03 2011
New Revision: 1063389

URL: http://svn.apache.org/viewvc?rev=1063389&view=rev
Log:
CologneBuffer does not need to implement CharSequence which then does not need to implement
charAt and subSequence, which are themselves not used.

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=1063389&r1=1063388&r2=1063389&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
Tue Jan 25 18:26:03 2011
@@ -197,8 +197,6 @@ public class ColognePhonetic implements 
 
         protected abstract char[] copyData(int start, final int length);
 
-        protected abstract CologneBuffer createCologneBuffer(char[] data);
-
         public int length() {
             return length;
         }
@@ -224,10 +222,6 @@ public class ColognePhonetic implements 
             return retData;
         }
 
-        protected CologneBuffer createCologneBuffer(char[] data) {
-            return new CologneLeftBuffer(data);
-        }
-
         public void putRight(char chr) {
             data[length] = chr;
             length++;
@@ -246,10 +240,6 @@ public class ColognePhonetic implements 
             return newData;
         }
 
-        protected CologneBuffer createCologneBuffer(char[] data) {
-            return new CologneRightBuffer(data);
-        }
-
         public char dropNext() {
             char ch = data[data.length - length];
             length--;



Mime
View raw message