commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1072735 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Date Sun, 20 Feb 2011 21:30:24 GMT
Author: ggregory
Date: Sun Feb 20 21:30:24 2011
New Revision: 1072735

URL: http://svn.apache.org/viewvc?rev=1072735&view=rev
Log:
Clean up return statement.

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=1072735&r1=1072734&r2=1072735&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
Sun Feb 20 21:30:24 2011
@@ -412,9 +412,6 @@ public class ColognePhonetic implements 
                 }
             }
         }
-
-        text = new String(chrs);
-
-        return text;
+        return new String(chrs);
     }
 }



Mime
View raw message