camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r749533 - in /camel/trunk: camel-core/src/main/java/org/apache/camel/component/bean/ components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/ components/camel-rmi/src/main/java/org/apache/camel/component/rmi/
Date Tue, 03 Mar 2009 05:26:30 GMT
Author: ningjiang
Date: Tue Mar  3 05:26:30 2009
New Revision: 749533

URL: http://svn.apache.org/viewvc?rev=749533&view=rev
Log:
Fixed some cs errors and polish the code comments

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/RegistryBean.java
    camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
    camel/trunk/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/RmiRegistryBean.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/RegistryBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/RegistryBean.java?rev=749533&r1=749532&r2=749533&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/RegistryBean.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/bean/RegistryBean.java
Tue Mar  3 05:26:30 2009
@@ -17,9 +17,9 @@
 package org.apache.camel.component.bean;
 
 import org.apache.camel.CamelContext;
+import org.apache.camel.NoSuchBeanException;
 import org.apache.camel.NoTypeConversionAvailableException;
 import org.apache.camel.Processor;
-import org.apache.camel.NoSuchBeanException;
 import org.apache.camel.spi.Registry;
 import org.apache.camel.util.CamelContextHelper;
 import org.apache.camel.util.ObjectHelper;

Modified: camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java?rev=749533&r1=749532&r2=749533&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
(original)
+++ camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
Tue Mar  3 05:26:30 2009
@@ -51,8 +51,8 @@
     }
 
     public void marshal(Exchange exchange, Object graph, OutputStream stream) throws IOException
{
-        try {
-            // must create a new instance of marshaller as its not thred safe
+        try {            
+            // must create a new instance of marshaller as its not thread safe
             getContext().createMarshaller().marshal(graph, stream);
         } catch (JAXBException e) {
             throw IOHelper.createIOException(e);
@@ -61,7 +61,7 @@
 
     public Object unmarshal(Exchange exchange, InputStream stream) throws IOException, ClassNotFoundException
{
         try {
-            // must create a new instance of unmarshaller as its not thred safe
+            // must create a new instance of unmarshaller as its not thread safe
             Object answer = getContext().createUnmarshaller().unmarshal(stream);
             if (answer instanceof JAXBElement && isIgnoreJAXBElement()) {
                 answer = ((JAXBElement)answer).getValue();

Modified: camel/trunk/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/RmiRegistryBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/RmiRegistryBean.java?rev=749533&r1=749532&r2=749533&view=diff
==============================================================================
--- camel/trunk/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/RmiRegistryBean.java
(original)
+++ camel/trunk/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/RmiRegistryBean.java
Tue Mar  3 05:26:30 2009
@@ -16,10 +16,10 @@
  */
 package org.apache.camel.component.rmi;
 
-import java.rmi.registry.Registry;
-import java.rmi.NotBoundException;
 import java.rmi.AccessException;
+import java.rmi.NotBoundException;
 import java.rmi.RemoteException;
+import java.rmi.registry.Registry;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.NoSuchBeanException;



Mime
View raw message