servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r487192 - /incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
Date Thu, 14 Dec 2006 12:37:55 GMT
Author: gnodet
Date: Thu Dec 14 04:37:55 2006
New Revision: 487192

URL: http://svn.apache.org/viewvc?view=rev&rev=487192
Log:
Change asList method to accept an Object[] instead of Endpoint[]

Modified:
    incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java

Modified: incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java?view=diff&rev=487192&r1=487191&r2=487192
==============================================================================
--- incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
(original)
+++ incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
Thu Dec 14 04:37:55 2006
@@ -263,7 +263,7 @@
     /**
      * A little helper method to turn a possibly null list of endpoints into a list of endpoints
      */
-    protected List asList(Endpoint[] endpoints) {
+    protected static List asList(Object[] endpoints) {
         if (endpoints == null) {
             return Collections.EMPTY_LIST;
         }



Mime
View raw message