fix: checkstyle and translations.

This commit is contained in:
huanghongxun
2021-09-12 01:46:09 +08:00
parent 87adbde965
commit b689e68d46
4 changed files with 14 additions and 1 deletions

View File

@@ -60,9 +60,20 @@ public class CrashReportAnalyzer {
TWILIGHT_FOREST(Pattern.compile("at twilightforest\\.")),
OPTIFINE(Pattern.compile("at net\\.optifine\\."));
private final Pattern pattern;
private final String[] groupNames;
StacktraceRules(Pattern pattern, String... groupNames) {
this.pattern = pattern;
this.groupNames = groupNames;
}
public Pattern getPattern() {
return pattern;
}
public String[] getGroupNames() {
return groupNames;
}
}
}