Title: [697] trunk/core/src/main/java/org/servicemix: SM-130 : fix typos

Diff

Modified: trunk/components/base/src/main/java/org/servicemix/components/activesoap/ASTransport.java (696 => 697)

--- trunk/components/base/src/main/java/org/servicemix/components/activesoap/ASTransport.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/components/base/src/main/java/org/servicemix/components/activesoap/ASTransport.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -40,11 +40,11 @@
     }
 
     public void invokeOneWay(Invocation invocation, Reader request) throws Exception {
-        throw new UnsupportedOperationException("Should never be invoked directy");
+        throw new UnsupportedOperationException("Should never be invoked directly");
     }
 
     public Reader invokeRequest(Invocation invocation, Reader request) throws Exception {
-        throw new UnsupportedOperationException("Should never be invoked directy");
+        throw new UnsupportedOperationException("Should never be invoked directly");
     }
 
     public void close() throws Exception {

Modified: trunk/components/base/src/main/java/org/servicemix/components/http/InvalidStatusResponseException.java (696 => 697)

--- trunk/components/base/src/main/java/org/servicemix/components/http/InvalidStatusResponseException.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/components/base/src/main/java/org/servicemix/components/http/InvalidStatusResponseException.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -26,7 +26,7 @@
     private int statusCode;
 
     public InvalidStatusResponseException(int statusCode) {
-        super("Invalid statuc response code: " + statusCode);
+        super("Invalid status response code: " + statusCode);
         this.statusCode = statusCode;
     }
 

Modified: trunk/components/base/src/main/java/org/servicemix/components/jms/JmsServiceComponent.java (696 => 697)

--- trunk/components/base/src/main/java/org/servicemix/components/jms/JmsServiceComponent.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/components/base/src/main/java/org/servicemix/components/jms/JmsServiceComponent.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -214,7 +214,7 @@
             result = inboundMessage.getJMSReplyTo();
         }
         if (result == null) {
-            log.error("Coul not find an outbound destination for " + inboundMessage);
+            log.error("Could not find an outbound destination for " + inboundMessage);
             throw new JMSException("No outbound JMS Destination can be found");
         }
         return result;

Modified: trunk/core/src/main/java/org/servicemix/Main.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/Main.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/Main.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -48,7 +48,7 @@
 
                 if (file.equals("-?") || file.equals("?") || file.equals("--help") || file.equals("-h")) {
                     System.out.println("Usage: Main [xmlConfigFile]");
-                    System.out.println("If an XML config file is not specified then servicemix.xml is used from the CLASSPAHT");
+                    System.out.println("If an XML config file is not specified then servicemix.xml is used from the CLASSPATH");
                     return;
                 }
 

Modified: trunk/core/src/main/java/org/servicemix/components/util/xstream/XStreamMarshaler.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/components/util/xstream/XStreamMarshaler.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/components/util/xstream/XStreamMarshaler.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -85,7 +85,7 @@
                     transformer.toResult(content, result);
                 }
                 catch (TransformerException e) {
-                    throw new MessagingException("Failed to tranform content: " + content + " to DOMResult: " + e, e);
+                    throw new MessagingException("Failed to transform content: " + content + " to DOMResult: " + e, e);
                 }
                 document = (Document) result.getNode();
             }

Modified: trunk/core/src/main/java/org/servicemix/jbi/container/EnvironmentContext.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/jbi/container/EnvironmentContext.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/jbi/container/EnvironmentContext.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -79,7 +79,7 @@
      * @return description
      */
     public String getDescription(){
-        return "Manages Enviroment for the Container";
+        return "Manages Environment for the Container";
     }
     /**
      * @return Returns the componentsDir.

Modified: trunk/core/src/main/java/org/servicemix/jbi/jaxp/ResourceSource.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/jbi/jaxp/ResourceSource.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/jbi/jaxp/ResourceSource.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -45,7 +45,7 @@
             return resource.getInputStream();
         }
         catch (IOException e) {
-            throw new RuntimeException("Failed to open resouce: " + resource + ". Reason: " + e, e); 
+            throw new RuntimeException("Failed to open resource: " + resource + ". Reason: " + e, e); 
         }
     }
 

Modified: trunk/core/src/main/java/org/servicemix/jbi/management/ManagementContext.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/jbi/management/ManagementContext.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/jbi/management/ManagementContext.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -619,7 +619,7 @@
                 }
             }
             catch (NoClassDefFoundError e) {
-                log.error("Couldnot load MBeanServer", e);
+                log.error("Could not load MBeanServer", e);
             }
             catch (JMException e) {
                 log.error("Could not start the remote: JMX ConnectorServer", e);

Modified: trunk/core/src/main/java/org/servicemix/jbi/management/task/ShutDownComponentTask.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/jbi/management/task/ShutDownComponentTask.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/jbi/management/task/ShutDownComponentTask.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -55,7 +55,7 @@
      */
     public void execute() throws BuildException {
         if (componentName == null) {
-            throw new BuildException("null compoenntName");
+            throw new BuildException("null componentName");
         }
         try {
             ManagementContextMBean is = getManagementContext();

Modified: trunk/core/src/main/java/org/servicemix/jbi/nmr/flow/jms/JMSFlow.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/jbi/nmr/flow/jms/JMSFlow.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/jbi/nmr/flow/jms/JMSFlow.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -201,7 +201,7 @@
             advisor.addListener(this);
         }
         catch (JMSException e) {
-            log.error("Failed t0 initialize JMSFlow", e);
+            log.error("Failed to initialize JMSFlow", e);
             throw new JBIException(e);
         }
     }
@@ -250,7 +250,7 @@
                 this.connection.close();
             }
             catch (JMSException e) {
-                log.warn("erro closing JMS Connection", e);
+                log.warn("Error closing JMS Connection", e);
             }
         }
     }

Modified: trunk/core/src/main/java/org/servicemix/jbi/nmr/flow/seda/SedaQueue.java (696 => 697)

--- trunk/core/src/main/java/org/servicemix/jbi/nmr/flow/seda/SedaQueue.java	2005-10-28 09:51:08 UTC (rev 696)
+++ trunk/core/src/main/java/org/servicemix/jbi/nmr/flow/seda/SedaQueue.java	2005-10-28 13:32:18 UTC (rev 697)
@@ -238,7 +238,7 @@
                 }
                 log.warn(this + " interrupted", e);
             } catch (WorkException e) {
-                log.error(this + " Gor error processing exchange", e);
+                log.error(this + " got error processing exchange", e);
             }
         }
     }

Reply via email to