diff --git a/java_console/ui/src/test/java/com/rusefi/FullServerTest.java b/java_console/ui/src/test/java/com/rusefi/FullServerTest.java index a1a8fe281c..52fdbecc6a 100644 --- a/java_console/ui/src/test/java/com/rusefi/FullServerTest.java +++ b/java_console/ui/src/test/java/com/rusefi/FullServerTest.java @@ -67,8 +67,8 @@ public class FullServerTest { int applicationTimeout = 7 * SECOND; try (Backend backend = new Backend(userDetailsResolver, httpPort, applicationTimeout) { @Override - protected void onRegister(ControllerConnectionState controllerConnectionState) { - super.onRegister(controllerConnectionState); + public void register(ControllerConnectionState controllerConnectionState) { + super.register(controllerConnectionState); controllerRegistered.countDown(); } diff --git a/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java b/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java index 5959a6cbfe..5456c47b28 100644 --- a/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java +++ b/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java @@ -353,10 +353,6 @@ public class Backend implements Closeable { controllers.add(controllerConnectionState); controllersByKey.put(controllerConnectionState.getControllerKey(), controllerConnectionState); } - onRegister(controllerConnectionState); - } - - protected void onRegister(ControllerConnectionState controllerConnectionState) { } public void close(ControllerConnectionState inactiveClient) {