Fix checkstyle errors

This commit is contained in:
Ilkka Seppälä 2020-07-30 18:24:55 +03:00
parent 0f35681674
commit a68edf0f3d
2 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,6 @@ public class Queen implements Royalty {
* @return A value which describes if the flirt was successful or not.
*/
public boolean getFlirted(King king) {
return this.isFlirty && king.isHappy && !king.isDrunk;
return this.isFlirty && king.isHappy && !king.isDrunk;
}
}

View File

@ -87,7 +87,8 @@ public class World {
* Render the next frame. Here we do nothing since it is not related to the
* pattern.
*/
private void render() {}
private void render() {
}
/**
* Run game loop.