harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r548659 - /harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServiceRevokedEvent.java
Date Tue, 19 Jun 2007 09:01:41 GMT
Author: leoli
Date: Tue Jun 19 02:01:38 2007
New Revision: 548659

URL: http://svn.apache.org/viewvc?view=rev&rev=548659
Log:
Fix bug in java.beans.beancontext.BeanContextServiceRevokedEvent.

Modified:
    harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServiceRevokedEvent.java

Modified: harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServiceRevokedEvent.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServiceRevokedEvent.java?view=diff&rev=548659&r1=548658&r2=548659
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServiceRevokedEvent.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextServiceRevokedEvent.java
Tue Jun 19 02:01:38 2007
@@ -52,10 +52,7 @@
         return this.invalidateRefs;
     }
 
-    public boolean isServiceClass(Class service) {
-        if (service == null) {
-            return false;
-        }
-        return service.equals(this.serviceClass);
+    public boolean isServiceClass(Class service) {        
+        return serviceClass.equals(service);
     }
 }



Mime
View raw message