MCPcopy Create free account
hub / github.com/apache/ant / textCompare

Method textCompare

src/main/org/apache/tools/ant/util/ResourceUtils.java:588–607  ·  view source on GitHub ↗

Text compares the contents of two Resources. Ignores different kinds of line endings. @param r1 the Resource whose content is to be compared. @param r2 the other Resource whose content is to be compared. @return a negative integer, zero, or a positive integer as the first argument is less th

(final Resource r1, final Resource r2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compareContentMethod · 0.95

Calls 4

readLineMethod · 0.80
getInputStreamMethod · 0.45
equalsMethod · 0.45
compareToMethod · 0.45

Tested by

no test coverage detected