camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1310151 - /camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
Date Fri, 06 Apr 2012 01:37:06 GMT
Author: dkulp
Date: Fri Apr  6 01:37:05 2012
New Revision: 1310151

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

Modified:
    camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java

Modified: camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java?rev=1310151&r1=1310150&r2=1310151&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
(original)
+++ camel/trunk/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/FallbackTypeConverter.java
Fri Apr  6 01:37:05 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