From 7bb2ad09d312b0e3322e6fdf22c1d2754eaac5b2 Mon Sep 17 00:00:00 2001 From: BONNe1704 Date: Tue, 19 Feb 2019 19:58:06 +0200 Subject: [PATCH] Move TryToComplete from panel Package to tasks package. --- .../challenges/panel/user/ChallengesGUI.java | 2 +- .../{panel => tasks}/TryToComplete.java | 2 +- .../{panel => tasks}/TryToCompleteTest.java | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) rename src/main/java/world/bentobox/challenges/{panel => tasks}/TryToComplete.java (99%) rename src/test/java/world/bentobox/challenges/{panel => tasks}/TryToCompleteTest.java (86%) diff --git a/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java b/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java index 4050526..4ae5bce 100644 --- a/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java +++ b/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java @@ -14,7 +14,7 @@ import world.bentobox.challenges.ChallengesAddon; import world.bentobox.challenges.ChallengesManager; import world.bentobox.challenges.database.object.Challenge; import world.bentobox.challenges.panel.CommonGUI; -import world.bentobox.challenges.panel.TryToComplete; +import world.bentobox.challenges.tasks.TryToComplete; import world.bentobox.challenges.utils.GuiUtils; import world.bentobox.challenges.utils.LevelStatus; diff --git a/src/main/java/world/bentobox/challenges/panel/TryToComplete.java b/src/main/java/world/bentobox/challenges/tasks/TryToComplete.java similarity index 99% rename from src/main/java/world/bentobox/challenges/panel/TryToComplete.java rename to src/main/java/world/bentobox/challenges/tasks/TryToComplete.java index 808e975..faddb4d 100644 --- a/src/main/java/world/bentobox/challenges/panel/TryToComplete.java +++ b/src/main/java/world/bentobox/challenges/tasks/TryToComplete.java @@ -1,7 +1,7 @@ /** * */ -package world.bentobox.challenges.panel; +package world.bentobox.challenges.tasks; import org.bukkit.GameMode; diff --git a/src/test/java/world/bentobox/challenges/panel/TryToCompleteTest.java b/src/test/java/world/bentobox/challenges/tasks/TryToCompleteTest.java similarity index 86% rename from src/test/java/world/bentobox/challenges/panel/TryToCompleteTest.java rename to src/test/java/world/bentobox/challenges/tasks/TryToCompleteTest.java index d789ede..7fed52a 100644 --- a/src/test/java/world/bentobox/challenges/panel/TryToCompleteTest.java +++ b/src/test/java/world/bentobox/challenges/tasks/TryToCompleteTest.java @@ -1,7 +1,7 @@ /** * */ -package world.bentobox.challenges.panel; +package world.bentobox.challenges.tasks; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; @@ -58,7 +58,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsSuccess() { @@ -72,7 +72,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsMax() { @@ -86,7 +86,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsZero() { @@ -100,7 +100,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsSuccessMultiple() { @@ -114,7 +114,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsSuccessMultipleOther() { @@ -131,7 +131,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsMultipleOtherFail() { @@ -148,7 +148,7 @@ public class TryToCompleteTest { } /** - * Test method for {@link world.bentobox.challenges.panel.TryToComplete#removeItems(java.util.List)}. + * Test method for {@link TryToComplete#removeItems(java.util.List)}. */ @Test public void testRemoveItemsFail() {