Fix stability level being impossible to override

This commit is contained in:
embeddedt 2026-05-23 12:50:33 -04:00
parent f4f596ca0c
commit 50cedfc699
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -72,7 +72,7 @@ public class ModernFixEarlyConfig {
public static final FeatureLevel ACTIVE_FEATURE_LEVEL = resolveFeatureLevel();
private static FeatureLevel resolveFeatureLevel() {
String prop = System.getProperty("modernfix.stabilityLevel", "ga").toLowerCase(Locale.ROOT);
String prop = System.getProperty("modernfix.stabilityLevel", "ga").toUpperCase(Locale.ROOT);
try {
return FeatureLevel.valueOf(prop);
} catch (IllegalArgumentException e) {