servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r526104 - /incubator/servicemix/branches/servicemix-3.1/web/servicemix-web-console/src/main/java/org/apache/servicemix/web/model/Registry.java
Date Fri, 06 Apr 2007 08:50:33 GMT
Author: gnodet
Date: Fri Apr  6 01:50:31 2007
New Revision: 526104

URL: http://svn.apache.org/viewvc?view=rev&rev=526104
Log:
SM-923: NPE in web console when viewing component with lightweight components deployed

Modified:
    incubator/servicemix/branches/servicemix-3.1/web/servicemix-web-console/src/main/java/org/apache/servicemix/web/model/Registry.java

Modified: incubator/servicemix/branches/servicemix-3.1/web/servicemix-web-console/src/main/java/org/apache/servicemix/web/model/Registry.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.1/web/servicemix-web-console/src/main/java/org/apache/servicemix/web/model/Registry.java?view=diff&rev=526104&r1=526103&r2=526104
==============================================================================
--- incubator/servicemix/branches/servicemix-3.1/web/servicemix-web-console/src/main/java/org/apache/servicemix/web/model/Registry.java
(original)
+++ incubator/servicemix/branches/servicemix-3.1/web/servicemix-web-console/src/main/java/org/apache/servicemix/web/model/Registry.java
Fri Apr  6 01:50:31 2007
@@ -89,7 +89,7 @@
     public List<Endpoint> getEndpoints(Component component) throws Exception {
         List<Endpoint> endpoints = new ArrayList<Endpoint>();
         for (Endpoint endpoint : getEndpoints()) {
-            if (endpoint.getComponent().equals(component)) {
+            if (component.equals(endpoint.getComponent())) {
                 endpoints.add(endpoint);
             }
         }



Mime
View raw message