minor refactoring
This commit is contained in:
parent
36859731ed
commit
d499d1f4d4
|
@ -113,7 +113,6 @@ public class BinaryProtocol {
|
||||||
|
|
||||||
incomingData = stream.getDataBuffer();
|
incomingData = stream.getDataBuffer();
|
||||||
binaryProtocolLogger = new BinaryProtocolLogger(linkManager);
|
binaryProtocolLogger = new BinaryProtocolLogger(linkManager);
|
||||||
binaryProtocolLogger.needCompositeLogger = linkManager.getCompositeLogicEnabled();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void sleep(long millis) {
|
public static void sleep(long millis) {
|
||||||
|
|
|
@ -48,6 +48,7 @@ public class BinaryProtocolLogger {
|
||||||
};
|
};
|
||||||
|
|
||||||
Runtime.getRuntime().addShutdownHook(hook);
|
Runtime.getRuntime().addShutdownHook(hook);
|
||||||
|
needCompositeLogger = linkManager.getCompositeLogicEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createCompositesIfNeeded() {
|
private void createCompositesIfNeeded() {
|
||||||
|
|
Loading…
Reference in New Issue