From e25492f5f71b4ad4e09e485fe46b5dd60a568994 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Mon, 29 Feb 2016 17:37:56 +0100 Subject: Remove redundant explicit type declaration --- src/ch/epfl/xblast/server/Board.java | 4 ++-- src/ch/epfl/xblast/server/Ticks.java | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/ch/epfl/xblast/server/Board.java b/src/ch/epfl/xblast/server/Board.java index 62cfd0a..5e899f6 100644 --- a/src/ch/epfl/xblast/server/Board.java +++ b/src/ch/epfl/xblast/server/Board.java @@ -111,14 +111,14 @@ public final class Board { List> rowsList = new ArrayList<>(); - List> halfInnerBoard = Lists.>mirrored(quadrantNWBlocks); + List> halfInnerBoard = Lists.mirrored(quadrantNWBlocks); for (int i = 0; i < halfInnerBoard.size(); i++) { if (halfInnerBoard.get(i).size() != 7) { throw new IllegalArgumentException(); } - rowsList.add(Lists.mirrored(halfInnerBoard.get(i))); + rowsList.add(Lists.mirrored(halfInnerBoard.get(i))); } return ofInnerBlocksWalled(rowsList); } diff --git a/src/ch/epfl/xblast/server/Ticks.java b/src/ch/epfl/xblast/server/Ticks.java index c19f073..aa08a23 100644 --- a/src/ch/epfl/xblast/server/Ticks.java +++ b/src/ch/epfl/xblast/server/Ticks.java @@ -11,31 +11,31 @@ public interface Ticks { /** * Duration of the death of a player (in ticks). */ - public static int PLAYER_DYING_TICKS = 8; + int PLAYER_DYING_TICKS = 8; /** * Duration of the invulnerability of a player (in ticks). */ - public static int PLAYER_INVULNERABLE_TICKS = 64; + int PLAYER_INVULNERABLE_TICKS = 64; /** * Duration of the timer of a bomb (in ticks). */ - public static int BOMB_FUSE_TICKS = 100; + int BOMB_FUSE_TICKS = 100; /** * Duration of an explosion (in ticks). */ - public static int EXPLOSION_TICKS = 30; + int EXPLOSION_TICKS = 30; /** * Duration of crumbling of a wall (in ticks). */ - public static int WALL_CRUMBLING_TICKS = EXPLOSION_TICKS; + int WALL_CRUMBLING_TICKS = EXPLOSION_TICKS; /** * Duration of the presence of a bonus (in ticks). */ - public static int BONUS_DISAPPEARING_TICKS = EXPLOSION_TICKS; + int BONUS_DISAPPEARING_TICKS = EXPLOSION_TICKS; } -- cgit v1.2.3