stefan-egli commented on code in PR #7:
URL:
https://github.com/apache/sling-org-apache-sling-discovery-base/pull/7#discussion_r924708783
##########
src/main/java/org/apache/sling/discovery/base/commons/DefaultTopologyView.java:
##########
@@ -119,7 +119,7 @@ public Type compareTopology(final DefaultTopologyView
other) {
@Override
public boolean equals(final Object obj) {
- if (obj == null || !(obj instanceof DefaultTopologyView)) {
+ if (!(obj instanceof DefaultTopologyView)) {
Review Comment:
thx! (ah, sonar! :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]