camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-10043: Camel-Jaxb: objectFactory is never checked. This leads to performance degradation. Default ObjectFactory values set to false on DataFormat too.
Date Fri, 10 Jun 2016 13:20:59 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x b230af99f -> c70838bb0


CAMEL-10043: Camel-Jaxb: objectFactory is never checked. This leads to performance degradation.
Default ObjectFactory values set to false on DataFormat too.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c70838bb
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c70838bb
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c70838bb

Branch: refs/heads/camel-2.17.x
Commit: c70838bb0538dc240478b0841fff19b6e6e31265
Parents: b230af9
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri Jun 10 15:17:03 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri Jun 10 15:18:41 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c70838bb/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
----------------------------------------------------------------------
diff --git a/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
b/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
index 9fbd1bc..d66c7c5 100644
--- a/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
+++ b/components/camel-jaxb/src/main/java/org/apache/camel/converter/jaxb/JaxbDataFormat.java
@@ -85,7 +85,7 @@ public class JaxbDataFormat extends ServiceSupport implements DataFormat,
DataFo
     private String noNamespaceSchemaLocation;
 
     private boolean prettyPrint = true;
-    private boolean objectFactory = true;
+    private boolean objectFactory;
     private boolean ignoreJAXBElement = true;
     private boolean mustBeJAXBElement = true;
     private boolean filterNonXmlChars;


Mime
View raw message