Skip to content

Commit 110a0da

Browse files
committed
fixes #191 - downgraded patch to Java 8 compliance
1 parent 803fc4a commit 110a0da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-diff-utils/src/test/java/com/github/difflib/text/DiffRowGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ private void assertInlineDiffResult(DiffRowGenerator generator, String original,
839839

840840
@Test
841841
public void testIssue188HangOnExamples() throws IOException, URISyntaxException {
842-
try (FileSystem zipFs = FileSystems.newFileSystem(Paths.get("target/test-classes/com/github/difflib/text/test.zip"), null);) {
842+
try (FileSystem zipFs = FileSystems.newFileSystem(Paths.get("target/test-classes/com/github/difflib/text/test.zip"), (ClassLoader) null);) {
843843
List<String> original = Files.readAllLines(zipFs.getPath("old.html"));
844844
List<String> revised = Files.readAllLines(zipFs.getPath("new.html"));
845845

0 commit comments

Comments
 (0)