Class URLEqualsHashCode

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.URLEqualsHashCode
All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, BugChecker.NewClassTreeMatcher, Suppressible, Serializable

public class URLEqualsHashCode
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher, BugChecker.NewClassTreeMatcher
Points out on creation of Set and HashMap of type java.net.URL.

equals() and hashCode() of java.net.URL class make blocking internet connections.

Author:
bhagwani@google.com (Sumit Bhagwani)
See Also:
Serialized Form