Label abbreviation feature is dead; kill it

Note: because this feature wasn't used at all, there is no need for
new schema version with automagic gerrit.config clean up.

Bug: issue 2618
Change-Id: Ic129ca43c21c1955b842d61b84c515d622711ced
This commit is contained in:
David Ostrovsky
2014-06-12 10:06:35 +02:00
committed by Dave Borowitz
parent 1e05b52046
commit 4f0c338788
7 changed files with 3 additions and 43 deletions

View File

@@ -103,12 +103,6 @@ class EqualsLabelPredicate extends IndexPredicate<ChangeData> {
return lt;
}
}
for (LabelType lt : types.getLabelTypes()) {
if (toFind.equalsIgnoreCase(lt.getAbbreviation())) {
return lt;
}
}
return null;
}