Skip to content

Commit

Permalink
Fix missing methods and inspect errors
Browse files Browse the repository at this point in the history
  • Loading branch information
L4BORG committed Jan 15, 2024
1 parent 4997b3f commit 3d73698
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/main/java/world/bentobox/islandfly/FlyToggleCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
public class FlyToggleCommand extends CompositeCommand {


private Settings settings;
private IslandFlyAddon islandFlyAddon;
private final Settings settings;
private final IslandFlyAddon islandFlyAddon;

/**
* Default constructor
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/world/bentobox/islandfly/config/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public boolean isAllowCommandOutsideProtectionRange()


/**
* Method Settings#setFlyDisableOnLogout sets new value for the flyDisableOnLogout of this object.
* @param flyDisableOnLogout new value for this object.
* Method Settings#setAllowCommandOutsideProtectionRange sets new value for the commandAllowed of this object.
* @param commandAllowed new value for this object.
*
*/
public void setAllowCommandOutsideProtectionRange(boolean commandAllowed)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void tearDown() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandGraceTime() {
Expand All @@ -157,7 +157,7 @@ public void testOnExitIslandGraceTime() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandGraceTimeOp() {
Expand All @@ -171,7 +171,7 @@ public void testOnExitIslandGraceTimeOp() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandGraceTimePermission() {
Expand All @@ -185,7 +185,7 @@ public void testOnExitIslandGraceTimePermission() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandGraceTimeNotFlying() {
Expand All @@ -200,7 +200,7 @@ public void testOnExitIslandGraceTimeNotFlying() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandNoGraceTime() {
Expand All @@ -214,7 +214,7 @@ public void testOnExitIslandNoGraceTime() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandNoGraceTimeNoPermission() {
Expand All @@ -229,7 +229,7 @@ public void testOnExitIslandNoGraceTimeNoPermission() {
}

/**
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandEvent.IslandExitEvent)}.
* Test method for {@link world.bentobox.islandfly.listeners.FlyListener#onExitIsland(world.bentobox.bentobox.api.events.island.IslandExitEvent)}.
*/
@Test
public void testOnExitIslandNoGraceTimeCreativeOrSpectator() {
Expand Down

0 comments on commit 3d73698

Please sign in to comment.