ConsoleUI: Don't use equalsIgnoreCase from jgit
Change-Id: I22a3e2bcb8a3b30dcf37c40f4dffad529e8eb769
This commit is contained in:
parent
d5a077fdd9
commit
d7c427c077
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user