File tree Expand file tree Collapse file tree
java/org/apache/commons/codec/language
test/org/apache/commons/codec/language Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 * </p>
3232 *
3333 * @author Apache Software Foundation
34- * @version $Id: Metaphone.java,v 1.20 2004/06/05 18:32:04 ggregory Exp $
34+ * @version $Id: Metaphone.java,v 1.21 2004/10/08 22:56:22 ggregory Exp $
3535 */
3636public class Metaphone implements StringEncoder {
3737
@@ -307,7 +307,7 @@ public String metaphone(String txt) {
307307 }
308308
309309 private boolean isVowel (StringBuffer string , int index ) {
310- return ( this .vowels .indexOf (string .charAt (index )) >= 0 ) ;
310+ return this .vowels .indexOf (string .charAt (index )) >= 0 ;
311311 }
312312
313313 private boolean isPreviousChar (StringBuffer string , int index , char c ) {
Original file line number Diff line number Diff line change 2828 *
2929 * @see "http://www.cuj.com/documents/s=8038/cuj0006philips/"
3030 * @author Apache Software Foundation
31- * @version $Id: DoubleMetaphoneTest.java,v 1.10 2004/08/05 20:39:40 ggregory Exp $
31+ * @version $Id: DoubleMetaphoneTest.java,v 1.11 2004/10/08 22:56:22 ggregory Exp $
3232 */
3333public class DoubleMetaphoneTest extends StringEncoderAbstractTest {
3434
@@ -1001,7 +1001,7 @@ public class DoubleMetaphoneTest extends StringEncoderAbstractTest {
10011001 "yeild" , "yield" }, };
10021002
10031003 public static Test suite () {
1004- return ( new TestSuite (DoubleMetaphoneTest .class ) );
1004+ return new TestSuite (DoubleMetaphoneTest .class );
10051005 }
10061006
10071007 private DoubleMetaphone doubleMetaphone = null ;
Original file line number Diff line number Diff line change 2323import org .apache .commons .codec .StringEncoderAbstractTest ;
2424
2525/**
26- * @version $Id: MetaphoneTest.java,v 1.13 2004/08/05 20:39:40 ggregory Exp $
26+ * @version $Id: MetaphoneTest.java,v 1.14 2004/10/08 22:56:22 ggregory Exp $
2727 * @author Apache Software Foundation
2828 */
2929public class MetaphoneTest extends StringEncoderAbstractTest {
3030
3131 public static Test suite () {
32- return ( new TestSuite (MetaphoneTest .class ) );
32+ return new TestSuite (MetaphoneTest .class );
3333 }
3434
3535 private Metaphone metaphone = null ;
Original file line number Diff line number Diff line change 2626/**
2727 * Tests RefinedSoundex.
2828 *
29- * @version $Id: RefinedSoundexTest.java,v 1.12 2004/08/05 20:39:40 ggregory Exp $
29+ * @version $Id: RefinedSoundexTest.java,v 1.13 2004/10/08 22:56:22 ggregory Exp $
3030 * @author Apache Software Foundation
3131 */
3232public class RefinedSoundexTest extends StringEncoderAbstractTest {
3333
3434 public static Test suite () {
35- return ( new TestSuite (RefinedSoundexTest .class ) );
35+ return new TestSuite (RefinedSoundexTest .class );
3636 }
3737
3838 private RefinedSoundex encoder = null ;
Original file line number Diff line number Diff line change 2727/**
2828 * Tests {@link Soundex}
2929 *
30- * @version $Id: SoundexTest.java,v 1.19 2004/08/05 20:39:40 ggregory Exp $
30+ * @version $Id: SoundexTest.java,v 1.20 2004/10/08 22:56:22 ggregory Exp $
3131 * @author Apache Software Foundation
3232 */
3333public class SoundexTest extends StringEncoderAbstractTest {
3434
3535 public static Test suite () {
36- return ( new TestSuite (SoundexTest .class ) );
36+ return new TestSuite (SoundexTest .class );
3737 }
3838
3939 private Soundex encoder = null ;
You can’t perform that action at this time.
0 commit comments