Remove deprecated Region#contract/expand(Vector) methods

Those methods hid varargs versions which are not deprecated
This commit is contained in:
aumgn 2012-11-12 10:36:44 +01:00
parent 574f162019
commit da400ffdeb
3 changed files with 0 additions and 32 deletions

View File

@ -271,7 +271,6 @@ public class SelectionCommands {
max = 3 max = 3
) )
@CommandPermissions("worldedit.selection.expand") @CommandPermissions("worldedit.selection.expand")
@SuppressWarnings("deprecation")
public void expand(CommandContext args, LocalSession session, LocalPlayer player, public void expand(CommandContext args, LocalSession session, LocalPlayer player,
EditSession editSession) throws WorldEditException { EditSession editSession) throws WorldEditException {
@ -348,7 +347,6 @@ public class SelectionCommands {
max = 3 max = 3
) )
@CommandPermissions("worldedit.selection.contract") @CommandPermissions("worldedit.selection.contract")
@SuppressWarnings("deprecation")
public void contract(CommandContext args, LocalSession session, LocalPlayer player, public void contract(CommandContext args, LocalSession session, LocalPlayer player,
EditSession editSession) throws WorldEditException { EditSession editSession) throws WorldEditException {

View File

@ -57,16 +57,6 @@ public abstract class AbstractRegion implements Region {
this.world = world; this.world = world;
} }
@Deprecated
public void expand(Vector change) throws RegionOperationException {
expand(new Vector[] { change });
}
@Deprecated
public void contract(Vector change) throws RegionOperationException {
contract(new Vector[] { change });
}
public void shift(Vector change) throws RegionOperationException { public void shift(Vector change) throws RegionOperationException {
expand(change); expand(change);
contract(change); contract(change);

View File

@ -81,16 +81,6 @@ public interface Region extends Iterable<BlockVector>, Cloneable {
*/ */
public int getLength(); public int getLength();
/**
* Expand the region.
*
* @deprecated will be seamlessly replaced by {@link #expand(Vector...)
* @param change
* @throws RegionOperationException
*/
@Deprecated
public void expand(Vector change) throws RegionOperationException;
/** /**
* Expand the region. * Expand the region.
* *
@ -99,16 +89,6 @@ public interface Region extends Iterable<BlockVector>, Cloneable {
*/ */
public void expand(Vector... changes) throws RegionOperationException; public void expand(Vector... changes) throws RegionOperationException;
/**
* Contract the region.
*
* @deprecated will be seamlessly replaced by {@link #contract(Vector...)
* @param change
* @throws RegionOperationException
*/
@Deprecated
public void contract(Vector change) throws RegionOperationException;
/** /**
* Contract the region. * Contract the region.
* *