fixed sonar bugs
This commit is contained in:
@ -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,
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user