ashokmca07 commented on code in PR #7:
URL: 
https://github.com/apache/sling-org-apache-sling-discovery-base/pull/7#discussion_r924687253


##########
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:
   I have reverted the last commit since complexity is keep increasing, will 
create separate ticket to fix sonar issues 👍 



-- 
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]

Reply via email to