felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r1454655 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/RegistrationManager.java
Date Sat, 09 Mar 2013 04:55:29 GMT
Author: djencks
Date: Sat Mar  9 04:55:28 2013
New Revision: 1454655

URL: http://svn.apache.org/r1454655
Log:
FELIX-3891 better logging output

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/RegistrationManager.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/RegistrationManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/RegistrationManager.java?rev=1454655&r1=1454654&r2=1454655&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/RegistrationManager.java
(original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/RegistrationManager.java
Sat Mar  9 04:55:28 2013
@@ -51,15 +51,25 @@ abstract class RegistrationManager<T>
             return latch;
         }
         
+        @Override
         public int hashCode()
         {
             return regState.hashCode();
         }
         
+        @Override
         public boolean equals(Object other)
         {
             return other instanceof RegStateWrapper && regState == ((RegStateWrapper)other).getRegState();
         }
+
+        @Override
+        public String toString()
+        {
+            return regState.toString();
+        }
+        
+        
         
     }
     private final Lock registrationLock = new ReentrantLock();



Mime
View raw message