|
svn commit: r744050 - in /servicemix/components/shared-libraries/trunk/serv: msg#00272commits-servicemix.apache.org
Author: gnodet Date: Fri Feb 13 09:16:07 2009 New Revision: 744050 URL: http://svn.apache.org/viewvc?rev=744050&view=rev Log: Fix error message and typo Modified: servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointExporter.java servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointWrapper.java Modified: servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointExporter.java URL: http://svn.apache.org/viewvc/servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointExporter.java?rev=744050&r1=744049&r2=744050&view=diff ============================================================================== --- servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointExporter.java (original) +++ servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointExporter.java Fri Feb 13 09:16:07 2009 @@ -84,7 +84,7 @@ Map<String, String> sus = new HashMap<String, String>(); for (Endpoint ep : getEndpoints()) { if (ep.getServiceUnit() == null) { - throw new IllegalStateException("Endpoint has not been "); + throw new IllegalStateException("Endpoint has not been initialized. Check that the component is started."); } sus.put(ep.getServiceUnit().getName(), ep.getServiceUnit().getComponent().getComponentName()); } Modified: servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointWrapper.java URL: http://svn.apache.org/viewvc/servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointWrapper.java?rev=744050&r1=744049&r2=744050&view=diff ============================================================================== --- servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointWrapper.java (original) +++ servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/osgi/EndpointWrapper.java Fri Feb 13 09:16:07 2009 @@ -22,7 +22,7 @@ * The EndpointWrapper is a very simple interface that wraps an Endpoint. * The main purpose of this wrapper is that Spring-DM creates proxy when using * collections, so that we don't have access to the real class anymore and can not - * do anything based on the clas itself. Going through a wrapper works around + * do anything based on the class itself. Going through a wrapper works around * this problem. */ public interface EndpointWrapper {
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |