Symmetrize method name for givingErrorOnTooManyArgs
This commit is contained in:
parent
4291dc35ba
commit
a7ba558899
@ -25,7 +25,7 @@ public class DeprecatedCommand extends MassiveCommand
|
|||||||
this.setAliases(aliases);
|
this.setAliases(aliases);
|
||||||
|
|
||||||
// Args
|
// Args
|
||||||
this.setErrorOnTooManyArgs(false);
|
this.setGivingErrorOnTooManyArgs(false);
|
||||||
|
|
||||||
// Visibility
|
// Visibility
|
||||||
this.setVisibilityMode(VisibilityMode.INVISIBLE);
|
this.setVisibilityMode(VisibilityMode.INVISIBLE);
|
||||||
|
@ -300,11 +300,11 @@ public class MassiveCommand
|
|||||||
|
|
||||||
// FIELD: errorOnToManyArgs
|
// FIELD: errorOnToManyArgs
|
||||||
// Should an error be thrown if "too many" args are sent.
|
// Should an error be thrown if "too many" args are sent.
|
||||||
protected boolean errorOnToManyArgs;
|
protected boolean givingErrorOnTooManyArgs;
|
||||||
public boolean isGivingErrorOnTooManyArgs() { return this.errorOnToManyArgs; }
|
public boolean isGivingErrorOnTooManyArgs() { return this.givingErrorOnTooManyArgs; }
|
||||||
public void setErrorOnTooManyArgs(boolean val) { this.errorOnToManyArgs = val; }
|
public void setGivingErrorOnTooManyArgs(boolean val) { this.givingErrorOnTooManyArgs = val; }
|
||||||
@Deprecated public boolean getErrorOnToManyArgs() { return this.isGivingErrorOnTooManyArgs(); }
|
@Deprecated public boolean getErrorOnToManyArgs() { return this.isGivingErrorOnTooManyArgs(); }
|
||||||
@Deprecated public void setErrorOnToManyArgs(boolean val) { this.setErrorOnTooManyArgs(val); }
|
@Deprecated public void setErrorOnToManyArgs(boolean val) { this.setGivingErrorOnTooManyArgs(val); }
|
||||||
|
|
||||||
// FIELD concatFrom
|
// FIELD concatFrom
|
||||||
// From which arg should the be concatenated.
|
// From which arg should the be concatenated.
|
||||||
@ -478,7 +478,7 @@ public class MassiveCommand
|
|||||||
|
|
||||||
this.requirements = new ArrayList<Req>();
|
this.requirements = new ArrayList<Req>();
|
||||||
|
|
||||||
this.errorOnToManyArgs = true;
|
this.givingErrorOnTooManyArgs = true;
|
||||||
this.usingConcatFrom = false;
|
this.usingConcatFrom = false;
|
||||||
|
|
||||||
this.usingTokenizer = true;
|
this.usingTokenizer = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user