Autoformaterer klasser med formateringsfeil

This commit is contained in:
Kristian Knarvik 2020-04-22 12:48:33 +02:00
parent fada713d19
commit 6394bd9655
4 changed files with 8 additions and 9 deletions

View File

@ -60,8 +60,7 @@ public class PowerDownScreen extends AbstractScreen {
String descriptiontext; String descriptiontext;
if (roboRallyWrapper.roboRallyGame.getGameState() == GameState.CHOOSING_POWER_DOWN) { if (roboRallyWrapper.roboRallyGame.getGameState() == GameState.CHOOSING_POWER_DOWN) {
descriptiontext = "click the button to enter powerdown next round"; descriptiontext = "click the button to enter powerdown next round";
} } else {
else{
descriptiontext = "continue powerdown?"; descriptiontext = "continue powerdown?";
} }
int elapsedTime = (int) Math.floor((System.currentTimeMillis() - startTime) / 1000f); int elapsedTime = (int) Math.floor((System.currentTimeMillis() - startTime) / 1000f);

View File

@ -16,6 +16,7 @@ public class ErrorResponse {
this.errorMessage = errorMessage; this.errorMessage = errorMessage;
this.critical = false; this.critical = false;
} }
public ErrorResponse() { public ErrorResponse() {
} }

View File

@ -202,7 +202,6 @@ public class PhaseTest {
} }
@Test @Test
public void robotFiresLaserAndHitsARobotDoesNotDamageRobotOnOtherSide() throws InterruptedException { public void robotFiresLaserAndHitsARobotDoesNotDamageRobotOnOtherSide() throws InterruptedException {
FakeGame testGame = new FakeGame(); FakeGame testGame = new FakeGame();