karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r966549 - /karaf/trunk/features/management/src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java
Date Thu, 22 Jul 2010 09:14:24 GMT
Author: ffang
Date: Thu Jul 22 09:14:23 2010
New Revision: 966549

URL: http://svn.apache.org/viewvc?rev=966549&view=rev
Log:
[KARAF-136] should override equals method for FeaturesListener to handle the proxy compared
to wrapped object case

Modified:
    karaf/trunk/features/management/src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java

Modified: karaf/trunk/features/management/src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java
URL: http://svn.apache.org/viewvc/karaf/trunk/features/management/src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java?rev=966549&r1=966548&r2=966549&view=diff
==============================================================================
--- karaf/trunk/features/management/src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java
(original)
+++ karaf/trunk/features/management/src/main/java/org/apache/karaf/features/management/internal/FeaturesServiceMBeanImpl.java
Thu Jul 22 09:14:23 2010
@@ -167,6 +167,14 @@ public class FeaturesServiceMBeanImpl ex
                     sendNotification(notification);
                 }
             }
+            
+            public boolean equals(Object o) {
+            	if (this == o) {
+            		return true;
+            	}
+            	return o.equals(this);
+              }
+
         };
     }
 



Mime
View raw message