camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject svn commit: r1324981 - /camel/branches/camel-2.9.x/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
Date Wed, 11 Apr 2012 20:15:46 GMT
Author: cmueller
Date: Wed Apr 11 20:15:45 2012
New Revision: 1324981

URL: http://svn.apache.org/viewvc?rev=1324981&view=rev
Log:
The getUnmarshaller call no longer needs to be synchronized

Modified:
    camel/branches/camel-2.9.x/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java

Modified: camel/branches/camel-2.9.x/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java?rev=1324981&r1=1324980&r2=1324981&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
(original)
+++ camel/branches/camel-2.9.x/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
Wed Apr 11 20:15:45 2012
@@ -247,7 +247,7 @@ public class FallbackTypeConverter imple
         return context;
     }
 
-    protected synchronized <T> Unmarshaller getUnmarshaller(Class<T> type) throws
JAXBException {
+    protected <T> Unmarshaller getUnmarshaller(Class<T> type) throws JAXBException
{
         JAXBContext context = createContext(type);
         return context.createUnmarshaller();
     }



Mime
View raw message