servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r634374 - in /servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src: main/java/ test/java/
Date Thu, 06 Mar 2008 18:15:56 GMT
Author: bsnyder
Date: Thu Mar  6 10:15:46 2008
New Revision: 634374

URL: http://svn.apache.org/viewvc?rev=634374&view=rev
Log:
SM-1264 - Cleanup the servicemix-binding-component archetype so the BCs it creates pass the
Checkstyle rules

Modified:
    servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
    servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
    servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
    servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java

Modified: servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java?rev=634374&r1=634373&r2=634374&view=diff
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
(original)
+++ servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
Thu Mar  6 10:15:46 2008
@@ -26,8 +26,7 @@
 /**
  * @org.apache.xbean.XBean element="component"
  */
-public class MyComponent extends DefaultComponent
-{
+public class MyComponent extends DefaultComponent {
 
     private MyEndpointType[] endpoints;
     
@@ -44,7 +43,7 @@
     }
 
     protected Class[] getEndpointClasses() {
-        return new Class[] { MyConsumerEndpoint.class, MyProviderEndpoint.class };
+        return new Class[] {MyConsumerEndpoint.class, MyProviderEndpoint.class};
     }
 
     protected Endpoint getResolvedEPR(ServiceEndpoint ep) throws Exception {

Modified: servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java?rev=634374&r1=634373&r2=634374&view=diff
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
(original)
+++ servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
Thu Mar  6 10:15:46 2008
@@ -31,8 +31,8 @@
     }
     
     public String getLocationURI() {
-         // TODO: return a URI that unique identify this endpoint
-         return getService() +  "#" + getEndpoint(); 
+        // TODO: return a URI that unique identify this endpoint
+        return getService() +  "#" + getEndpoint(); 
     }
     
     public void start() throws Exception {

Modified: servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java?rev=634374&r1=634373&r2=634374&view=diff
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
(original)
+++ servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
Thu Mar  6 10:15:46 2008
@@ -17,7 +17,6 @@
 package ${packageName};
 
 import javax.jbi.management.DeploymentException;
-import javax.jbi.messaging.MessagingException;
 import javax.jbi.messaging.MessageExchange;
 import javax.jbi.messaging.NormalizedMessage;
 import javax.jbi.servicedesc.ServiceEndpoint;

Modified: servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java?rev=634374&r1=634373&r2=634374&view=diff
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
(original)
+++ servicemix/smx3/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
Thu Mar  6 10:15:46 2008
@@ -16,12 +16,10 @@
  */
 package ${packageName};
 
-import javax.jbi.messaging.ExchangeStatus;
 import javax.jbi.messaging.InOut;
 import javax.xml.namespace.QName;
 
 import org.apache.servicemix.client.DefaultServiceMixClient;
-import org.apache.servicemix.jbi.jaxp.SourceTransformer;
 import org.apache.servicemix.jbi.jaxp.StringSource;
 import org.apache.servicemix.tck.SpringTestSupport;
 import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;



Mime
View raw message