Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[KARAF-136] should override equals method for FeaturesListener to han…

…dle the proxy compared to wrapped object case

git-svn-id: https://svn.apache.org/repos/asf/karaf/trunk@966549 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit c8967860e06f1de50e022e79f95c8c9b76353f15 1 parent 3df541d
@ffang ffang authored
View
8 ...src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java
@@ -167,6 +167,14 @@ public void repositoryEvent(RepositoryEvent event) {
sendNotification(notification);
}
}
+
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ return o.equals(this);
+ }
+
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.