MCPcopy Index your code
hub / github.com/dnaumenko/java-diff-utils / diff

Method diff

src/main/java/difflib/DiffUtils.java:92–94  ·  view source on GitHub ↗

Computes the difference between the original and revised list of elements with default diff algorithm @param original The original text. Must not be null. @param revised The revised text. Must not be null. @return The patch describing the difference between the

(List<T> original, List<T> revised)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testPatch_InsertMethod · 0.95
testPatch_DeleteMethod · 0.95
testPatch_ChangeMethod · 0.95
verifyMethod · 0.95
testDiff_InsertMethod · 0.95
testDiff_DeleteMethod · 0.95
testDiff_ChangeMethod · 0.95
testDiff_EmptyListMethod · 0.95

Calls 1

diffMethod · 0.65

Tested by 13

testPatch_InsertMethod · 0.76
testPatch_DeleteMethod · 0.76
testPatch_ChangeMethod · 0.76
verifyMethod · 0.76
testDiff_InsertMethod · 0.76
testDiff_DeleteMethod · 0.76
testDiff_ChangeMethod · 0.76
testDiff_EmptyListMethod · 0.76