분류 enum

This commit is contained in:
2026-01-23 20:46:18 +09:00
parent 3fbac59788
commit beedc4b8a6
2 changed files with 7 additions and 15 deletions

View File

@@ -28,7 +28,8 @@ public enum DetectionClassification {
private final int order;
/**
* Optional: Helper method to get the enum from a String, case-insensitive, or return ETC if not found.
* Optional: Helper method to get the enum from a String, case-insensitive, or return ETC if not
* found.
*/
public static DetectionClassification fromString(String text) {
if (text == null || text.trim().isEmpty()) {