From efc216bcac499a47ae68b1272052575dff3ce2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= Date: Sun, 2 Jan 2022 09:22:04 +0100 Subject: [PATCH] Fix a typo in ComputeDifference.java --- .../java/com/github/difflib/examples/ComputeDifference.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-diff-utils/src/test/java/com/github/difflib/examples/ComputeDifference.java b/java-diff-utils/src/test/java/com/github/difflib/examples/ComputeDifference.java index f665e662..e8b25437 100644 --- a/java-diff-utils/src/test/java/com/github/difflib/examples/ComputeDifference.java +++ b/java-diff-utils/src/test/java/com/github/difflib/examples/ComputeDifference.java @@ -12,11 +12,11 @@ public class ComputeDifference { private static final String ORIGINAL = TestConstants.MOCK_FOLDER + "original.txt"; - private static final String RIVISED = TestConstants.MOCK_FOLDER + "revised.txt"; + private static final String REVISED = TestConstants.MOCK_FOLDER + "revised.txt"; public static void main(String[] args) throws IOException { List original = Files.readAllLines(new File(ORIGINAL).toPath()); - List revised = Files.readAllLines(new File(RIVISED).toPath()); + List revised = Files.readAllLines(new File(REVISED).toPath()); // Compute diff. Get the Patch object. Patch is the container for computed deltas. Patch patch = DiffUtils.diff(original, revised);