MCPcopy Index your code
hub / github.com/XF-FS/APIKit / add

Method add

src/main/java/burp/utils/UrlScanCount.java:27–36  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

25 * WARNING - Removed try catching itself - possible behaviour change.
26 */
27 public void add(String key) {
28 Map<String, Integer> map;
29 if (key == null || key.length() <= 0) {
30 throw new IllegalArgumentException("Key \u4e0d\u80fd\u4e3a\u7a7a");
31 }
32 Map<String, Integer> map2 = map = this.getStringMap();
33 synchronized (map2) {
34 this.countMap.put(key, this.get(key) + 1);
35 }
36 }
37
38 public void del(String key) {
39 if (this.countMap.get(key) != null) {

Callers 15

ContextMenuClass · 0.80
createMenuItemsMethod · 0.80
doPassiveScanMethod · 0.80
runMethod · 0.80
TrimDupHeaderMethod · 0.80
getUrlPathListMethod · 0.80
formatHeadersMethod · 0.80
ApiScannerMethod · 0.80
runMethod · 0.80
isFingerprintMatchMethod · 0.80

Calls 2

getStringMapMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected