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

Method getMiddle2

spotbugsTestCases/src/java/NPIncomplete.java:13–15  ·  view source on GitHub ↗
(String a)

Source from the content-addressed store, hash-verified

11 }
12
13 public String getMiddle2(String a) {
14 return a.substring(0 + a.length() / 2, 0 + a.length() / 2);
15 }
16
17 public int deREFERENCER(String a) {
18 return a.hashCode();

Callers 1

mainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected