Repository: camel Updated Branches: refs/heads/master 11548e6d6 -> a7d04c7ef
CAMEL-9572: correction in SchemaReader - without this correction some unit tests would fail, for example ValidatingDomProcessorTest Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a7d04c7e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a7d04c7e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a7d04c7e Branch: refs/heads/master Commit: a7d04c7efd46cc2619b09ae6952a76b1e06af13b Parents: 11548e6 Author: Franz Forsthofer <franz.forstho...@sap.com> Authored: Wed Feb 17 07:06:39 2016 +0100 Committer: Franz Forsthofer <franz.forstho...@sap.com> Committed: Wed Feb 17 07:06:39 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/camel/processor/validation/SchemaReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/a7d04c7e/camel-core/src/main/java/org/apache/camel/processor/validation/SchemaReader.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/processor/validation/SchemaReader.java b/camel-core/src/main/java/org/apache/camel/processor/validation/SchemaReader.java index 12abfdb..d7230dd 100644 --- a/camel-core/src/main/java/org/apache/camel/processor/validation/SchemaReader.java +++ b/camel-core/src/main/java/org/apache/camel/processor/validation/SchemaReader.java @@ -64,7 +64,8 @@ public class SchemaReader { public SchemaReader() { - this(null, null); + this.camelContext = null; + this.schemaResourceUri = null; } /** Specify a camel context and a schema resource URI in order to read the schema via the class resolver specified in the Camel context. */