Delete unused (and broke) ListChangesOption.fromValue() method
This method does not work when the enum values are ordered differently from the value passed in the construct. Since its unused, just delete it. Nobody needs it so there is no value in trying to fix the code. Change-Id: I381bac6e54156813b127dfda36024b0297966dc1
This commit is contained in:
@@ -46,10 +46,6 @@ public enum ListChangesOption {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static ListChangesOption fromValue(int value) {
|
||||
return ListChangesOption.values()[value];
|
||||
}
|
||||
|
||||
public static EnumSet<ListChangesOption> fromBits(int v) {
|
||||
EnumSet<ListChangesOption> r = EnumSet.noneOf(ListChangesOption.class);
|
||||
for (ListChangesOption o : ListChangesOption.values()) {
|
||||
|
||||
Reference in New Issue
Block a user