Author: gnodet
Date: Sun Oct 15 13:00:02 2006
New Revision: 464264
URL: http://svn.apache.org/viewvc?view=rev&rev=464264
Log:
Use asList to return the endpoints
Modified:
incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
Modified:
incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
URL:
http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java?view=diff&rev=464264&r1=464263&r2=464264
==============================================================================
---
incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
(original)
+++
incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/HttpComponent.java
Sun Oct 15 13:00:02 2006
@@ -256,9 +256,7 @@
}
protected List getConfiguredEndpoints() {
- List answer = new ArrayList();
- answer.addAll(asList(getEndpoints()));
- return answer;
+ return asList(endpoints);
}
protected Class[] getEndpointClasses() {