Repository: camel Updated Branches: refs/heads/master 40c630d07 -> 7b1dba9a4
Fixed a CS error in camel-core Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/254888d7 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/254888d7 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/254888d7 Branch: refs/heads/master Commit: 254888d79620e522288ee059c911963962707a59 Parents: 40c630d Author: Willem Jiang <willem.ji...@gmail.com> Authored: Mon Feb 17 16:02:29 2014 +0800 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Mon Feb 17 16:02:29 2014 +0800 ---------------------------------------------------------------------- .../camel/component/file/FileComponent.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/254888d7/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java b/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java index 0cc237c..8d0a3a5 100644 --- a/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java +++ b/camel-core/src/main/java/org/apache/camel/component/file/FileComponent.java @@ -32,6 +32,15 @@ import org.apache.camel.util.StringHelper; * File component. */ public class FileComponent extends GenericFileComponent<File> implements EndpointCompleter { + /** + * GenericFile property on Camel Exchanges. + */ + public static final String FILE_EXCHANGE_FILE = "CamelFileExchangeFile"; + + /** + * Default camel lock filename postfix + */ + public static final String DEFAULT_LOCK_FILE_POSTFIX = ".camelLock"; public FileComponent() { super(); @@ -43,16 +52,6 @@ public class FileComponent extends GenericFileComponent<File> implements Endpoin setEndpointClass(FileEndpoint.class); } - /** - * GenericFile property on Camel Exchanges. - */ - public static final String FILE_EXCHANGE_FILE = "CamelFileExchangeFile"; - - /** - * Default camel lock filename postfix - */ - public static final String DEFAULT_LOCK_FILE_POSTFIX = ".camelLock"; - protected GenericFileEndpoint<File> buildFileEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception { // the starting directory must be a static (not containing dynamic expressions) if (StringHelper.hasStartToken(remaining, "simple")) {