Skip to content

Commit 4700647

Browse files
committed
1 parent 4727557 commit 4700647

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ This is a test ~senctence~**for diffutils**.
5353
But it can easily replaced by any other which is better for handing your texts. I have plan to add implementation of some in future.
5454

5555
### Changelog ###
56+
* Version 4.1-SNAPSHOT
57+
* preview of new Unified Diff Reader / Writer. This is not yet feature complete but passes the
58+
tests of the old version.
5659
* Version 4.0-SNAPSHOT
5760
* moved to organisation **java-diff-utils**
5861
* changed groupid to **io.github.java-diff-utils** and artifact id to **java-diff-utils**

src/main/java/com/github/difflib/unifieddiff/UnifiedDiffReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private UnifiedDiff parse() throws IOException, UnifiedDiffParserException {
6868
String tailTxt = "";
6969
while (READER.ready()) {
7070
String line = READER.readLine();
71-
if (line.equals("--")) {
71+
if (line.matches("--\\s*")) {
7272
break;
7373
} else {
7474
LOG.log(Level.INFO, "parsing line {0}", line);

0 commit comments

Comments
 (0)