You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/02/20 09:42:51 UTC
[2/2] git commit: Fixed the CS error of FileComponent
Fixed the CS error of FileComponent
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ab0f8522
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ab0f8522
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ab0f8522
Branch: refs/heads/camel-2.12.x
Commit: ab0f8522391e75954c822455f259b3b3a9289a72
Parents: 09c93c6
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Feb 20 16:42:04 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Feb 20 16:42:04 2014 +0800
----------------------------------------------------------------------
.../camel/component/file/FileComponent.java | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/ab0f8522/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..0fbcd86 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
@@ -33,6 +33,16 @@ import org.apache.camel.util.StringHelper;
*/
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();
setEndpointClass(FileEndpoint.class);
@@ -43,16 +53,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")) {