Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x 509648182 -> 9fb6787c2
  refs/heads/master 08e8d261b -> 90ed5549e


CAMEL-9808: fixed checkstyle violations; prefer javadoc over @UriParam
description

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

Branch: refs/heads/master
Commit: f18725d640c3c997ccd45246e6d84e41529c0eb8
Parents: f6586d0
Author: Thomas Küstermann <[email protected]>
Authored: Mon Apr 4 15:02:50 2016 +0200
Committer: Claus Ibsen <[email protected]>
Committed: Mon Apr 4 15:16:35 2016 +0200

----------------------------------------------------------------------
 .../file/remote/SftpConfiguration.java          | 18 ++++++-------
 .../component/file/remote/SftpOperations.java   | 28 ++++++++++----------
 2 files changed, 23 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f18725d6/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
----------------------------------------------------------------------
diff --git 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
index 7e740ae..9da9e81 100644
--- 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
+++ 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
@@ -55,7 +55,7 @@ public class SftpConfiguration extends 
RemoteFileConfiguration {
     private int serverAliveCountMax = 1;
     @UriParam(label = "producer,advanced")
     private String chmod;
-    // comma separated list of ciphers. 
+    // comma separated list of ciphers.
     // null means default jsch list will be used
     @UriParam(label = "security")
     private String ciphers;
@@ -65,7 +65,7 @@ public class SftpConfiguration extends 
RemoteFileConfiguration {
     private String preferredAuthentications;
     @UriParam(defaultValue = "WARN")
     private LoggingLevel jschLoggingLevel = LoggingLevel.WARN;
-    @UriParam(label="advanced", description="Specifies how many requests may 
be outstanding at any one time.")
+    @UriParam(label = "advanced")
     private Integer bulkRequests;
 
     public SftpConfiguration() {
@@ -255,7 +255,7 @@ public class SftpConfiguration extends 
RemoteFileConfiguration {
     public void setPreferredAuthentications(String pAuthentications) {
         this.preferredAuthentications = pAuthentications;
     }
-    
+
     public String getPreferredAuthentications() {
         return preferredAuthentications;
     }
@@ -271,16 +271,16 @@ public class SftpConfiguration extends 
RemoteFileConfiguration {
     public void setJschLoggingLevel(LoggingLevel jschLoggingLevel) {
         this.jschLoggingLevel = jschLoggingLevel;
     }
-    
+
     /**
      * Specifies how many requests may be outstanding at any one time. 
Increasing this value may
      * slightly improve file transfer speed but will increase memory usage.
      */
     public void setBulkRequests(Integer bulkRequests) {
-               this.bulkRequests = bulkRequests;
-       }
-    
+        this.bulkRequests = bulkRequests;
+    }
+
     public Integer getBulkRequests() {
-               return bulkRequests;
-       }
+        return bulkRequests;
+    }
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/f18725d6/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
----------------------------------------------------------------------
diff --git 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
index ea17aeb..e9982a4 100644
--- 
a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
+++ 
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
@@ -165,23 +165,23 @@ public class SftpOperations implements 
RemoteFileOperations<ChannelSftp.LsEntry>
         
         return true;
     }
-    
+
     private void configureBulkRequests() {
-       try {
-               tryConfigureBulkRequests();
-       } catch (JSchException e) {
-               throw new GenericFileOperationFailedException("Failed to 
configure number of bulk requests", e);
-       }
+        try {
+            tryConfigureBulkRequests();
+        } catch (JSchException e) {
+            throw new GenericFileOperationFailedException("Failed to configure 
number of bulk requests", e);
+        }
     }
-    
+
     private void tryConfigureBulkRequests() throws JSchException {
-       Integer bulkRequests = endpoint.getConfiguration().getBulkRequests();
-       
-       if (bulkRequests != null) {
-               LOG.trace("configuring channel to use up to {} bulk 
request(s)", bulkRequests);
-               
-               channel.setBulkRequests(bulkRequests);
-       }
+        Integer bulkRequests = endpoint.getConfiguration().getBulkRequests();
+
+        if (bulkRequests != null) {
+            LOG.trace("configuring channel to use up to {} bulk request(s)", 
bulkRequests);
+
+            channel.setBulkRequests(bulkRequests);
+        }
     }
 
     protected Session createSession(final RemoteFileConfiguration 
configuration) throws JSchException {

Reply via email to