MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / c

Method c

spotbugsTestCases/src/java/SelfLocalOperation.java:35–38  ·  view source on GitHub ↗
(Integer x, Integer y)

Source from the content-addressed store, hash-verified

33 }
34
35 @ExpectWarning("SA_LOCAL_SELF_COMPARISON")
36 int c(Integer x, Integer y) {
37 return x.compareTo(x);
38 }
39
40}

Callers

nothing calls this directly

Calls 1

compareToMethod · 0.45

Tested by

no test coverage detected