Fixed CS. This closes #936. This closes #937.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f1aee991 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f1aee991 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f1aee991 Branch: refs/heads/master Commit: f1aee991d0f77272baf2ea66ef820a25e35bab70 Parents: 9e18a1d Author: Claus Ibsen <davscl...@apache.org> Authored: Sat Apr 9 07:47:30 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat Apr 9 07:47:30 2016 +0200 ---------------------------------------------------------------------- .../main/java/org/apache/camel/component/fop/FopEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f1aee991/components/camel-fop/src/main/java/org/apache/camel/component/fop/FopEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-fop/src/main/java/org/apache/camel/component/fop/FopEndpoint.java b/components/camel-fop/src/main/java/org/apache/camel/component/fop/FopEndpoint.java index 5ba7fcc..7967d44 100644 --- a/components/camel-fop/src/main/java/org/apache/camel/component/fop/FopEndpoint.java +++ b/components/camel-fop/src/main/java/org/apache/camel/component/fop/FopEndpoint.java @@ -103,8 +103,8 @@ public class FopEndpoint extends DefaultEndpoint { if (fopFactory == null && userConfigURL == null) { fopFactory = FopFactory.newInstance(new URI("./")); } else if (fopFactory != null && userConfigURL != null) { - throw new FopConfigException("More than one configuration. " + - "You can configure fop either by config file or by supplying FopFactory but not both."); + throw new FopConfigException("More than one configuration. " + + "You can configure fop either by config file or by supplying FopFactory but not both."); } else if (fopFactory == null && userConfigURL != null) { InputStream is = ResourceHelper.resolveMandatoryResourceAsInputStream(getCamelContext(), userConfigURL); fopFactory = FopFactory.newInstance(new URI(userConfigURL), is);