Added @Override annotations.

Dieser Commit ist enthalten in:
sk89q 2011-11-29 09:23:24 -08:00 committet von TomyLobo
Ursprung 36e4b99ade
Commit 11245014c8
6 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -63,6 +63,7 @@ public abstract class BlockBag {
* @throws BlockBagException * @throws BlockBagException
* @deprecated Use {@link #fetchPlacedBlock(int,int)} instead * @deprecated Use {@link #fetchPlacedBlock(int,int)} instead
*/ */
@Deprecated
public void fetchPlacedBlock(int id) throws BlockBagException { public void fetchPlacedBlock(int id) throws BlockBagException {
fetchPlacedBlock(id, 0); fetchPlacedBlock(id, 0);
} }

Datei anzeigen

@ -88,6 +88,7 @@ public class BukkitWorld extends LocalWorld {
* *
* @return * @return
*/ */
@Override
public String getName() { public String getName() {
return world.getName(); return world.getName();
} }

Datei anzeigen

@ -60,6 +60,7 @@ public class Parser {
return '\0'; return '\0';
} }
@Override
public String toString() { public String toString() {
return "NullToken"; return "NullToken";
} }

Datei anzeigen

@ -471,6 +471,7 @@ public class Polygonal2DRegion implements Region {
* *
* @return string * @return string
*/ */
@Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
List<BlockVector2D> pts = getPoints(); List<BlockVector2D> pts = getPoints();

Datei anzeigen

@ -33,6 +33,7 @@ public class DistanceWand extends BrushTool implements DoubleActionTraceTool {
super("worldedit.wand"); super("worldedit.wand");
} }
@Override
public boolean canUse(LocalPlayer player) { public boolean canUse(LocalPlayer player) {
return player.hasPermission("worldedit.wand"); return player.hasPermission("worldedit.wand");
} }

Datei anzeigen

@ -39,6 +39,7 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo
this.secondary = secondary; this.secondary = secondary;
} }
@Override
public boolean canUse(LocalPlayer player) { public boolean canUse(LocalPlayer player) {
return player.hasPermission("worldedit.tool.lrbuild"); return player.hasPermission("worldedit.tool.lrbuild");
} }