GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix a typo in ComputeDifference.java (#140) · dandycheung/java-diff-utils@8fdd239

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java-diff-utils/src/test/java/com/github/difflib/examples
    • ComputeDifference.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java-diff-utils/src/test/java/com/github/difflib/examples/ComputeDifference.java‎

Copy file name to clipboardExpand all lines: java-diff-utils/src/test/java/com/github/difflib/examples/ComputeDifference.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
public class ComputeDifference {
1313

1414
private static final String ORIGINAL = TestConstants.MOCK_FOLDER + "original.txt";
15-
private static final String RIVISED = TestConstants.MOCK_FOLDER + "revised.txt";
15+
private static final String REVISED = TestConstants.MOCK_FOLDER + "revised.txt";
1616

1717
public static void main(String[] args) throws IOException {
1818
List<String> original = Files.readAllLines(new File(ORIGINAL).toPath());
19-
List<String> revised = Files.readAllLines(new File(RIVISED).toPath());
19+
List<String> revised = Files.readAllLines(new File(REVISED).toPath());
2020

2121
// Compute diff. Get the Patch object. Patch is the container for computed deltas.
2222
Patch<String> patch = DiffUtils.diff(original, revised);

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.