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

View File

@ -57,16 +57,6 @@ public abstract class AbstractRegion implements Region {
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 {
expand(change);
contract(change);

View File

@ -81,16 +81,6 @@ public interface Region extends Iterable<BlockVector>, Cloneable {
*/
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.
*
@ -99,16 +89,6 @@ public interface Region extends Iterable<BlockVector>, Cloneable {
*/
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.
*