Skip to content

Commit ae537cc

Browse files
committed
Follow FindBugs suggestion and make class inner class static: Should org.apache.commons.codec.language.bm.PhoneticEngine$RulesApplication be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 298-344 Medium.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1151850 13f79535-47bb-0310-9956-ffa450edef68
1 parent fee232d commit ae537cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ private static String join(Iterable<String> strings, String sep) {
286286
return sb.toString();
287287
}
288288

289-
private class RulesApplication {
289+
private static class RulesApplication {
290290
private final List<Rule> finalRules;
291291
private final Languages.LanguageSet languageSet;
292292
private final String input;

0 commit comments

Comments
 (0)