mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
Remove deprecated Region#contract/expand(Vector) methods
Those methods hid varargs versions which are not deprecated
This commit is contained in:
parent
574f162019
commit
da400ffdeb
@ -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 {
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user