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

Method getLength

spotbugsTestCases/src/java/CHM.java:7–9  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

5 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>();
6
7 int getLength(String s) {
8 return map.get(s).length();
9 }
10
11 void put(String k, String v) {
12 if (k == null)

Callers 4

getAvgPriorityFastMethod · 0.45
getAvgPrioritySlowMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected