BaseCommand: Removed unused checkExclusivity method

checkExclusivity is unused since change Ic4a6ea6ff2.

Change-Id: Idbfbb439b3d7a5177b52f042121dca3c357e988f
This commit is contained in:
Gustaf Lundh
2016-09-21 09:43:53 +02:00
committed by David Pursehouse
parent 286d361380
commit aa5d14be3e

View File

@@ -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;