BaseCommand: Removed unused checkExclusivity method
checkExclusivity is unused since change Ic4a6ea6ff2. Change-Id: Idbfbb439b3d7a5177b52f042121dca3c357e988f
This commit is contained in:
committed by
David Pursehouse
parent
286d361380
commit
aa5d14be3e
@@ -385,14 +385,6 @@ public abstract class BaseCommand implements Command {
|
||||
}
|
||||
}
|
||||
|
||||
public void checkExclusivity(final Object arg1, final String arg1name,
|
||||
final Object arg2, final String arg2name) throws UnloggedFailure {
|
||||
if (arg1 != null && arg2 != null) {
|
||||
throw new UnloggedFailure(String.format(
|
||||
"%s and %s options are mutually exclusive.", arg1name, arg2name));
|
||||
}
|
||||
}
|
||||
|
||||
private final class TaskThunk implements CancelableRunnable, ProjectRunnable {
|
||||
private final CommandRunnable thunk;
|
||||
private final String taskName;
|
||||
|
||||
Reference in New Issue
Block a user