Skip to content

Commit

Permalink
Deprecate all classes that are not necessary anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 23, 2019
1 parent 20dfc6a commit 59c0f6b
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/main/java/world/bentobox/challenges/ParseItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
* Used for converting config file entries to objects
* @author tastybento
*
* @deprecated
* @see world.bentobox.bentobox.util.ItemParser#parse(String)
*/
@Deprecated
public class ParseItem {

private final ItemStack item;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated Challenges can be creaded via GUI.
*/
@Deprecated
public class CreateChallenge extends CompositeCommand {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
/**
* Command to create a surrounding type challenge
* @author tastybento
*
* @deprecated Required blocks can be added via GUI. Not necessary.
*/
@Deprecated
public class CreateSurrounding extends CompositeCommand implements Listener {

HashMap<UUID,SurroundChallengeBuilder> inProgress = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
import world.bentobox.bentobox.api.user.User;
import world.bentobox.bentobox.util.Util;


/**
* @deprecated Challenges can be reset via GUI.
*/
@Deprecated
public class ResetChallenge extends CompositeCommand {

private ChallengesManager manager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
/**
* Enables the state of a Surrounding Challenge to be stored as it is built
* @author tastybento
*
* @deprecated Levels and challenges can be created via GUI. Not necessary command.
*/
@Deprecated
public class SurroundChallengeBuilder {
private ChallengesAddon addon;
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated All panels are reworked.
*/
@Deprecated
public class AdminEditGUI implements ClickHandler {

private ChallengesAddon addon;
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/world/bentobox/challenges/panel/AdminGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated All panels are reworked.
*/
@Deprecated
public class AdminGUI implements ClickHandler {

private ChallengesAddon addon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated All panels are reworked.
*/
@Deprecated
public class ChallengesPanels {
private ChallengesAddon addon;
private ChallengesManager manager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated All panels are reworked.
*/
@Deprecated
public class ChallengesPanels2 {

public enum Mode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
import world.bentobox.bentobox.api.panels.PanelListener;
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated All panels are reworked.
*/
@Deprecated
public class CreateChallengeListener implements PanelListener {

private ChallengesAddon addon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
import world.bentobox.bentobox.api.user.User;


/**
* @deprecated All panels are reworked.
*/
@Deprecated
public class CreateChallengePanel {

public CreateChallengePanel(ChallengesAddon addon, User user) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
* Handles the requirements for a challenge
* Items, blocks, entities
* @author tastybento
*
* @deprecated All panels are reworked.
*/
@Deprecated
public class RequiredPanel implements ClickHandler, PanelListener {
private static final int CONTROL_NUMBER = 4;
private Challenges challenge;
Expand Down
1 change: 1 addition & 0 deletions src/test/java/world/bentobox/challenges/ParseItemTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import world.bentobox.challenges.ParseItem;

@RunWith(PowerMockRunner.class)
@Deprecated
public class ParseItemTest {

private static ChallengesAddon addon;
Expand Down

0 comments on commit 59c0f6b

Please sign in to comment.