Refactored logger variables to caps.
This commit is contained in:
@@ -24,7 +24,7 @@ import java.util.logging.Logger;
|
||||
*/
|
||||
public abstract class BaseRecievePacket
|
||||
{
|
||||
private static final Logger _log = Logger.getLogger(BaseRecievePacket.class.getName());
|
||||
private static final Logger LOGGER = Logger.getLogger(BaseRecievePacket.class.getName());
|
||||
|
||||
private final byte[] _decrypt;
|
||||
private int _off;
|
||||
@@ -78,7 +78,7 @@ public abstract class BaseRecievePacket
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.warning(getClass().getSimpleName() + ": " + e.getMessage());
|
||||
LOGGER.warning(getClass().getSimpleName() + ": " + e.getMessage());
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@@ -26,7 +26,7 @@ import java.util.logging.Logger;
|
||||
*/
|
||||
public abstract class BaseSendablePacket
|
||||
{
|
||||
private static final Logger _log = Logger.getLogger(BaseSendablePacket.class.getName());
|
||||
private static final Logger LOGGER = Logger.getLogger(BaseSendablePacket.class.getName());
|
||||
|
||||
private final ByteArrayOutputStream _bao;
|
||||
|
||||
@@ -78,7 +78,7 @@ public abstract class BaseSendablePacket
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.warning(getClass().getSimpleName() + ": " + e.getMessage());
|
||||
LOGGER.warning(getClass().getSimpleName() + ": " + e.getMessage());
|
||||
}
|
||||
|
||||
_bao.write(0);
|
||||
@@ -93,7 +93,7 @@ public abstract class BaseSendablePacket
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
_log.warning(getClass().getSimpleName() + ": " + e.getMessage());
|
||||
LOGGER.warning(getClass().getSimpleName() + ": " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -24,7 +24,7 @@ import java.util.logging.Logger;
|
||||
|
||||
public class ScrambledKeyPair
|
||||
{
|
||||
private static Logger _log = Logger.getLogger(ScrambledKeyPair.class.getName());
|
||||
private static Logger LOGGER = Logger.getLogger(ScrambledKeyPair.class.getName());
|
||||
public KeyPair _pair;
|
||||
public byte[] _scrambledModulus;
|
||||
|
||||
@@ -66,7 +66,7 @@ public class ScrambledKeyPair
|
||||
{
|
||||
scrambledMod[0x40 + i] = (byte) (scrambledMod[0x40 + i] ^ scrambledMod[i]);
|
||||
}
|
||||
_log.finer("Modulus was scrambled");
|
||||
LOGGER.finer("Modulus was scrambled");
|
||||
|
||||
return scrambledMod;
|
||||
}
|
||||
|
Reference in New Issue
Block a user