ConsoleUI: Don't use equalsIgnoreCase from jgit

Change-Id: I22a3e2bcb8a3b30dcf37c40f4dffad529e8eb769
This commit is contained in:
David Pursehouse 2015-09-14 11:55:58 +09:00
parent d5a077fdd9
commit d7c427c077

View File

@ -14,8 +14,6 @@
package com.google.gerrit.pgm.init.api;
import static org.eclipse.jgit.util.StringUtils.equalsIgnoreCase;
import com.google.gerrit.common.Die;
import java.io.Console;
@ -218,7 +216,7 @@ public abstract class ConsoleUI {
return def;
}
for (final T e : options) {
if (equalsIgnoreCase(e.toString(), r)) {
if (e.toString().equalsIgnoreCase(r)) {
return e;
}
}