You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2010/11/11 19:56:57 UTC

svn commit: r1034049 - /camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ftp/FtpServerBean.java

Author: hadrian
Date: Thu Nov 11 18:56:57 2010
New Revision: 1034049

URL: http://svn.apache.org/viewvc?rev=1034049&view=rev
Log:
more checkstyle fixes

Modified:
    camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ftp/FtpServerBean.java

Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ftp/FtpServerBean.java
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ftp/FtpServerBean.java?rev=1034049&r1=1034048&r2=1034049&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ftp/FtpServerBean.java (original)
+++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ftp/FtpServerBean.java Thu Nov 11 18:56:57 2010
@@ -29,16 +29,18 @@ import org.apache.ftpserver.listener.Lis
 import org.apache.ftpserver.usermanager.ClearTextPasswordEncryptor;
 import org.apache.ftpserver.usermanager.PropertiesUserManagerFactory;
 
-public class FtpServerBean {
-
-    private static final transient Log LOG = LogFactory.getLog(FtpServerBean.class);
+public final class FtpServerBean {
 
     public static final String FTP_ROOT_DIR = "./res/home/";
+    private static final transient Log LOG = LogFactory.getLog(FtpServerBean.class);
 
-    protected static FtpServer ftpServer;
-
+    private static FtpServer ftpServer;
     private static int port;
 
+    private FtpServerBean() {
+        // utility class
+    }
+
     public static int getPort() {
         return port;
     }