two bytes of dead code

This commit is contained in:
rusefi 2020-07-26 14:15:24 -04:00
parent d8214bc019
commit 2b19fd72b6
2 changed files with 2 additions and 6 deletions

View File

@ -67,8 +67,8 @@ public class FullServerTest {
int applicationTimeout = 7 * SECOND; int applicationTimeout = 7 * SECOND;
try (Backend backend = new Backend(userDetailsResolver, httpPort, applicationTimeout) { try (Backend backend = new Backend(userDetailsResolver, httpPort, applicationTimeout) {
@Override @Override
protected void onRegister(ControllerConnectionState controllerConnectionState) { public void register(ControllerConnectionState controllerConnectionState) {
super.onRegister(controllerConnectionState); super.register(controllerConnectionState);
controllerRegistered.countDown(); controllerRegistered.countDown();
} }

View File

@ -353,10 +353,6 @@ public class Backend implements Closeable {
controllers.add(controllerConnectionState); controllers.add(controllerConnectionState);
controllersByKey.put(controllerConnectionState.getControllerKey(), controllerConnectionState); controllersByKey.put(controllerConnectionState.getControllerKey(), controllerConnectionState);
} }
onRegister(controllerConnectionState);
}
protected void onRegister(ControllerConnectionState controllerConnectionState) {
} }
public void close(ControllerConnectionState inactiveClient) { public void close(ControllerConnectionState inactiveClient) {