Skip to content
This repository was archived by the owner on Nov 12, 2019. It is now read-only.

Commit f74a584

Browse files
add toString() method
git-svn-id: http://java-diff-utils.googlecode.com/svn/trunk@24 d8d7d024-a22d-11de-b755-fd640f38fa9d
1 parent 41579e8 commit f74a584

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/difflib/ChangeDelta.java

+5
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,9 @@ public void verify(List<?> target) throws PatchFailedException {
7979
}
8080
}
8181

82+
@Override
83+
public String toString() {
84+
return "[ChangeDelta, position: " + getOriginal().getPosition() + ", lines: "
85+
+ getOriginal().getLines() + " to " + getRevised().getLines() + "]";
86+
}
8287
}

0 commit comments

Comments
 (0)