Closed drathar closed 3 months ago
In the code snippet of finding matching hosts there's no comparison of the member object and the parameter, but the member object gets compared to itself, which always produces a matching result.
case HOST -> { return this.uri.getHost() != null && this.uri.getHost().equals(this.uri.getHost()); }
In the code snippet of finding matching hosts there's no comparison of the member object and the parameter, but the member object gets compared to itself, which always produces a matching result.