MCPcopy Create free account
hub / github.com/ReadyTalk/avian / equals

Method equals

classpath/java/net/URLStreamHandler.java:55–57  ·  view source on GitHub ↗
(String a, String b)

Source from the content-addressed store, hash-verified

53 }
54
55 private static boolean equals(String a, String b) {
56 return (a == null && b == null) || (a != null && a.equals(b));
57 }
58
59 protected boolean equals(URL a, URL b) {
60 return equals(a.getHost(), b.getHost())

Callers

nothing calls this directly

Calls 4

getHostMethod · 0.80
getFileMethod · 0.80
equalsMethod · 0.65
getPortMethod · 0.45

Tested by

no test coverage detected