删除注解。

feature/net-util
ZhouXY108 2023-04-16 00:24:15 +08:00
parent 4617896655
commit 10f6d748c8
1 changed files with 0 additions and 4 deletions

View File

@ -42,12 +42,10 @@ final class EntityStatus extends Enumeration<EntityStatus> {
private static final ValueSet<EntityStatus> VALUE_SET = new ValueSet<>(
AVAILABLE, DISABLED);
@Nonnull
public static EntityStatus of(int value) {
return VALUE_SET.get(value);
}
@Nonnull
public static Collection<EntityStatus> constants() {
return VALUE_SET.getValues();
}
@ -63,12 +61,10 @@ final class Result extends Enumeration<Result> {
private static final ValueSet<Result> VALUE_SET = new ValueSet<>(SUCCESSFUL, FAILURE);
@Nonnull
public static Result of(int id) {
return VALUE_SET.get(id);
}
@Nonnull
public static Collection<Result> constants() {
return VALUE_SET.getValues();
}