diff --git a/pom.xml b/pom.xml index 2be9fb5f5..2fc82dd58 100644 --- a/pom.xml +++ b/pom.xml @@ -7,6 +7,8 @@ UTF-8 + szfp98 + https://sonarcloud.io pom diff --git a/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java b/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java index dec7961f8..f55d75057 100644 --- a/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java +++ b/train-controller/src/main/java/hu/bme/mit/train/controller/TrainControllerImpl.java @@ -44,7 +44,7 @@ private void enforceSpeedLimit() { @Override public void setJoystickPosition(int joystickPosition) { this.step = joystickPosition; - followSpeed(); + followSpeed(); } }