Skip to content

Commit b507e71

Browse files
committed
chore: remove custom method
1 parent 412e8ba commit b507e71

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/com/eliasnogueira/enums/RoomType.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
package com.eliasnogueira.enums;
2626

27-
import java.security.SecureRandom;
2827
import java.util.function.Supplier;
2928

3029
public enum RoomType implements Supplier<String> {
@@ -37,10 +36,6 @@ public enum RoomType implements Supplier<String> {
3736
this.value = value;
3837
}
3938

40-
public static RoomType getRandom() {
41-
return values()[new SecureRandom().nextInt(values().length)];
42-
}
43-
4439
@Override
4540
public String get() {
4641
return this.value;

0 commit comments

Comments
 (0)