fixed sonar bugs

This commit is contained in:
jomu
2015-02-21 15:20:43 +00:00
parent f8fb86003b
commit 161fc43fc3
10 changed files with 45 additions and 50 deletions

View File

@ -43,7 +43,7 @@ public class CidrTool {
}
protected static final int[] CIDR2MASK = new int[]{0x00000000, 0x80000000,
private static final int[] CIDR2MASK = new int[]{0x00000000, 0x80000000,
0xC0000000, 0xE0000000, 0xF0000000, 0xF8000000, 0xFC000000,
0xFE000000, 0xFF000000, 0xFF800000, 0xFFC00000, 0xFFE00000,
0xFFF00000, 0xFFF80000, 0xFFFC0000, 0xFFFE0000, 0xFFFF0000,

View File

@ -11,7 +11,7 @@ import org.apache.log4j.Logger;
*
* @author joern.muehlencord
*/
public class PortScan {
public final class PortScan {
private final static Logger LOGGER = Logger.getLogger(PortScan.class);

View File

@ -21,7 +21,7 @@ public class FTPConnection {
/** the default timeout in ms */
public static final int DEFAULTTIMEOUT = 30000;
/** the logger object */
private final Logger LOGGER = Logger.getLogger(FTPConnection.class);
private final static Logger LOGGER = Logger.getLogger(FTPConnection.class);
/** the username to connect with */
private String userName;
/** the password to connect with */