Author: ningjiang
Date: Wed Apr 13 02:36:44 2011
New Revision: 1091629

URL: http://svn.apache.org/viewvc?rev=1091629&view=rev
Log:
Fixed the CS errors

Modified:
    
camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java
    
camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
    
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileIssueTest.java
    
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileStopIssueTest.java

Modified: 
camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java?rev=1091629&r1=1091628&r2=1091629&view=diff
==============================================================================
--- 
camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java
 (original)
+++ 
camel/trunk/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInteractiveMain.java
 Wed Apr 13 02:36:44 2011
@@ -12,8 +12,7 @@
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
- * limitations under the License.           hello
- *
+ * limitations under the License.
  */
 package org.apache.camel.component.cometd;
 

Modified: 
camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java?rev=1091629&r1=1091628&r2=1091629&view=diff
==============================================================================
--- 
camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
 (original)
+++ 
camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConfiguration.java
 Wed Apr 13 02:36:44 2011
@@ -28,7 +28,7 @@ public class SftpConfiguration extends R
     private String privateKeyFile;
     private String privateKeyFilePassphrase;
     private String strictHostKeyChecking = "no";
-    private int serverAliveInterval = 0;
+    private int serverAliveInterval;
     private int serverAliveCountMax = 1;
 
     public SftpConfiguration() {
@@ -76,20 +76,20 @@ public class SftpConfiguration extends R
         this.strictHostKeyChecking = strictHostKeyChecking;
     }
 
-       public void setServerAliveInterval(int serverAliveInterval) {
-               this.serverAliveInterval = serverAliveInterval;
-       }
-
-       public int getServerAliveInterval() {
-               return serverAliveInterval;
-       }
-
-       public void setServerAliveCountMax(int serverAliveCountMax) {
-               this.serverAliveCountMax = serverAliveCountMax;
-       }
-
-       public int getServerAliveCountMax() {
-               return serverAliveCountMax;
-       }
+    public void setServerAliveInterval(int serverAliveInterval) {
+        this.serverAliveInterval = serverAliveInterval;
+    }
+
+    public int getServerAliveInterval() {
+        return serverAliveInterval;
+    }
+
+    public void setServerAliveCountMax(int serverAliveCountMax) {
+        this.serverAliveCountMax = serverAliveCountMax;
+    }
+
+    public int getServerAliveCountMax() {
+        return serverAliveCountMax;
+    }
 
 }

Modified: 
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileIssueTest.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileIssueTest.java?rev=1091629&r1=1091628&r2=1091629&view=diff
==============================================================================
--- 
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileIssueTest.java
 (original)
+++ 
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileIssueTest.java
 Wed Apr 13 02:36:44 2011
@@ -52,7 +52,7 @@ public class HttpStreamCacheFileIssueTes
         String[] files = file.list();
         assertEquals("There should be no files", 0, files.length);
 
-       assertMockEndpointsSatisfied();
+        assertMockEndpointsSatisfied();
     }
 
     @Override

Modified: 
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileStopIssueTest.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileStopIssueTest.java?rev=1091629&r1=1091628&r2=1091629&view=diff
==============================================================================
--- 
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileStopIssueTest.java
 (original)
+++ 
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileStopIssueTest.java
 Wed Apr 13 02:36:44 2011
@@ -52,7 +52,7 @@ public class HttpStreamCacheFileStopIssu
         String[] files = file.list();
         assertEquals("There should be no files", 0, files.length);
 
-       assertMockEndpointsSatisfied();
+        assertMockEndpointsSatisfied();
     }
 
     @Override


Reply via email to