@@ -41,7 +41,8 @@ protected Soundex createStringEncoder() {
4141
4242 @ Test
4343 void testB650 () throws EncoderException {
44- checkEncodingVariations ("B650" , new String []{
44+ // @formatter:off
45+ checkEncodingVariations ("B650" ,
4546 "BARHAM" ,
4647 "BARONE" ,
4748 "BARRON" ,
@@ -81,13 +82,13 @@ void testB650() throws EncoderException {
8182 "BYRAM" ,
8283 "BYRNE" ,
8384 "BYRON" ,
84- "BYRUM" });
85+ "BYRUM" );
86+ // @formatter:on
8587 }
8688
8789 @ Test
8890 void testBadCharacters () {
8991 assertEquals ("H452" , getStringEncoder ().encode ("HOL>MES" ));
90-
9192 }
9293
9394 @ Test
@@ -181,15 +182,17 @@ void testEncodeBatch4() {
181182
182183 @ Test
183184 void testEncodeIgnoreApostrophes () throws EncoderException {
184- checkEncodingVariations ("O165" , new String []{
185+ // @formatter:off
186+ checkEncodingVariations ("O165" ,
185187 "OBrien" ,
186188 "'OBrien" ,
187189 "O'Brien" ,
188190 "OB'rien" ,
189191 "OBr'ien" ,
190192 "OBri'en" ,
191193 "OBrie'n" ,
192- "OBrien'" });
194+ "OBrien'" );
195+ // @formatter:on
193196 }
194197
195198 /**
@@ -198,7 +201,8 @@ void testEncodeIgnoreApostrophes() throws EncoderException {
198201 * @throws EncoderException for some failure scenarios */
199202 @ Test
200203 void testEncodeIgnoreHyphens () throws EncoderException {
201- checkEncodingVariations ("K525" , new String []{
204+ // @formatter:off
205+ checkEncodingVariations ("K525" ,
202206 "KINGSMITH" ,
203207 "-KINGSMITH" ,
204208 "K-INGSMITH" ,
@@ -209,7 +213,8 @@ void testEncodeIgnoreHyphens() throws EncoderException {
209213 "KINGSM-ITH" ,
210214 "KINGSMI-TH" ,
211215 "KINGSMIT-H" ,
212- "KINGSMITH-" });
216+ "KINGSMITH-" );
217+ // @formatter:on
213218 }
214219
215220 @ Test
@@ -266,7 +271,8 @@ void testHWRuleEx3() throws EncoderException {
266271 assertEquals ("S460" , getStringEncoder ().encode ("Sgler" ));
267272 assertEquals ("S460" , getStringEncoder ().encode ("Swhgler" ));
268273 // Also S460:
269- checkEncodingVariations ("S460" , new String []{
274+ // @formatter:off
275+ checkEncodingVariations ("S460" ,
270276 "SAILOR" ,
271277 "SALYER" ,
272278 "SAYLOR" ,
@@ -282,7 +288,8 @@ void testHWRuleEx3() throws EncoderException {
282288 "SHULER" ,
283289 "SILAR" ,
284290 "SILER" ,
285- "SILLER" });
291+ "SILLER" );
292+ // @formatter:on
286293 }
287294
288295 /**
@@ -303,7 +310,7 @@ void testMsSqlServer1() {
303310 * @throws EncoderException for some failure scenarios */
304311 @ Test
305312 void testMsSqlServer2 () throws EncoderException {
306- checkEncodingVariations ("E625" , new String []{ "Erickson" , "Erickson" , "Erikson" , "Ericson" , "Ericksen" , "Ericsen" } );
313+ checkEncodingVariations ("E625" , "Erickson" , "Erickson" , "Erikson" , "Ericson" , "Ericksen" , "Ericsen" );
307314 }
308315
309316 /**
0 commit comments