minor refactoring

This commit is contained in:
rusefillc 2022-12-17 16:56:11 -05:00
parent 36859731ed
commit d499d1f4d4
2 changed files with 1 additions and 1 deletions

View File

@ -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) {

View File

@ -48,6 +48,7 @@ public class BinaryProtocolLogger {
}; };
Runtime.getRuntime().addShutdownHook(hook); Runtime.getRuntime().addShutdownHook(hook);
needCompositeLogger = linkManager.getCompositeLogicEnabled();
} }
private void createCompositesIfNeeded() { private void createCompositesIfNeeded() {