From 6c11b718af08b5a54dfe0d9398f4e64eabd39bd5 Mon Sep 17 00:00:00 2001 From: Thanos Paravantis Date: Wed, 13 Jul 2016 19:03:39 +0300 Subject: [PATCH] Remove suppress warnings annotations --- .../game/games/mineware/challenge/type/ChallengeCloudFall.java | 1 - .../game/games/mineware/challenge/type/ChallengeFishingDay.java | 1 - .../game/games/mineware/challenge/type/ChallengeVolleyPig.java | 2 -- 3 files changed, 4 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeCloudFall.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeCloudFall.java index 5fca09bea..32ce82b9c 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeCloudFall.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeCloudFall.java @@ -147,7 +147,6 @@ public class ChallengeCloudFall extends Challenge } } - @SuppressWarnings("deprecation") private boolean isLandingBlock(Block block) { return block.getType() == LANDING_PLATFORM_BLOCK_TYPE && block.getData() == LANDING_PLATFORM_BLOCK_DATA; diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeFishingDay.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeFishingDay.java index a5d699233..d288ca70b 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeFishingDay.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeFishingDay.java @@ -46,7 +46,6 @@ import nautilus.game.arcade.game.games.mineware.challenge.ChallengeType; * * @deprecated */ -@SuppressWarnings("deprecation") public class ChallengeFishingDay extends Challenge { private int _startingLureLevel = 8; diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeVolleyPig.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeVolleyPig.java index 360d5b437..9c9f7c5d7 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeVolleyPig.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/mineware/challenge/type/ChallengeVolleyPig.java @@ -166,7 +166,6 @@ public class ChallengeVolleyPig extends TeamChallenge _redSide = 0; } - @SuppressWarnings("deprecation") @EventHandler(priority = EventPriority.LOW) public void onPlayerMove(PlayerMoveEvent event) { @@ -310,7 +309,6 @@ public class ChallengeVolleyPig extends TeamChallenge } } - @SuppressWarnings("deprecation") private void increaseTeamScore() { if (_pig.isValid())