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

Method removeSuffix

src/main/org/apache/tools/ant/util/StringUtils.java:256–261  ·  view source on GitHub ↗

Removes the suffix from a given string, if the string contains that suffix. @param string String for check @param suffix Suffix to remove @return the string with the suffix

(String string, String suffix)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

getDirectoryScannerMethod · 0.95
moveGeneratedFileMethod · 0.95
stripExtensionMethod · 0.95
mapFileNameMethod · 0.95
testRemoveSuffixMethod · 0.95

Calls 3

substringMethod · 0.80
endsWithMethod · 0.45
lengthMethod · 0.45

Tested by 1

testRemoveSuffixMethod · 0.76