2222
2323import com .github .difflib .DiffUtils ;
2424
25- public class WithMeyersDiffWithLinearSpacePatchTest {
25+ public class WithMyersDiffWithLinearSpacePatchTest {
2626
2727 @ Test
2828 public void testPatch_Insert () {
2929 final List <String > insertTest_from = Arrays .asList ("hhh" );
3030 final List <String > insertTest_to = Arrays .asList ("hhh" , "jjj" , "kkk" , "lll" );
3131
32- final Patch <String > patch = DiffUtils .diff (insertTest_from , insertTest_to , new MeyersDiffWithLinearSpace <String >());
32+ final Patch <String > patch = DiffUtils .diff (insertTest_from , insertTest_to , new MyersDiffWithLinearSpace <String >());
3333 try {
3434 assertEquals (insertTest_to , DiffUtils .patch (insertTest_from , patch ));
3535 } catch (PatchFailedException e ) {
@@ -42,7 +42,7 @@ public void testPatch_Delete() {
4242 final List <String > deleteTest_from = Arrays .asList ("ddd" , "fff" , "ggg" , "hhh" );
4343 final List <String > deleteTest_to = Arrays .asList ("ggg" );
4444
45- final Patch <String > patch = DiffUtils .diff (deleteTest_from , deleteTest_to , new MeyersDiffWithLinearSpace <String >());
45+ final Patch <String > patch = DiffUtils .diff (deleteTest_from , deleteTest_to , new MyersDiffWithLinearSpace <String >());
4646 try {
4747 assertEquals (deleteTest_to , DiffUtils .patch (deleteTest_from , patch ));
4848 } catch (PatchFailedException e ) {
@@ -55,7 +55,7 @@ public void testPatch_Change() {
5555 final List <String > changeTest_from = Arrays .asList ("aaa" , "bbb" , "ccc" , "ddd" );
5656 final List <String > changeTest_to = Arrays .asList ("aaa" , "bxb" , "cxc" , "ddd" );
5757
58- final Patch <String > patch = DiffUtils .diff (changeTest_from , changeTest_to , new MeyersDiffWithLinearSpace <String >());
58+ final Patch <String > patch = DiffUtils .diff (changeTest_from , changeTest_to , new MyersDiffWithLinearSpace <String >());
5959 try {
6060 assertEquals (changeTest_to , DiffUtils .patch (changeTest_from , patch ));
6161 } catch (PatchFailedException e ) {
@@ -166,7 +166,7 @@ public void testPatch_Serializable() throws IOException, ClassNotFoundException
166166 final List <String > changeTest_from = Arrays .asList ("aaa" , "bbb" , "ccc" , "ddd" );
167167 final List <String > changeTest_to = Arrays .asList ("aaa" , "bxb" , "cxc" , "ddd" );
168168
169- final Patch <String > patch = DiffUtils .diff (changeTest_from , changeTest_to , new MeyersDiffWithLinearSpace <String >());
169+ final Patch <String > patch = DiffUtils .diff (changeTest_from , changeTest_to , new MyersDiffWithLinearSpace <String >());
170170 ByteArrayOutputStream baos = new ByteArrayOutputStream ();
171171 ObjectOutputStream out = new ObjectOutputStream (baos );
172172 out .writeObject (patch );
@@ -189,7 +189,7 @@ public void testPatch_Change_withExceptionProcessor() {
189189 final List <String > changeTest_from = Arrays .asList ("aaa" , "bbb" , "ccc" , "ddd" );
190190 final List <String > changeTest_to = Arrays .asList ("aaa" , "bxb" , "cxc" , "ddd" );
191191
192- final Patch <String > patch = DiffUtils .diff (changeTest_from , changeTest_to , new MeyersDiffWithLinearSpace <String >());
192+ final Patch <String > patch = DiffUtils .diff (changeTest_from , changeTest_to , new MyersDiffWithLinearSpace <String >());
193193
194194 changeTest_from .set (2 , "CDC" );
195195
0 commit comments