Skip to content

Commit

Permalink
Expose DiagnosticGroups.forName(name) as a static method
Browse files Browse the repository at this point in the history
Closes #3309

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=241961395
  • Loading branch information
realityforge authored and brad4d committed Apr 5, 2019
1 parent 075798a commit 9c3b9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/DiagnosticGroups.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static Map<String, DiagnosticGroup> getRegisteredGroups() {
}

/** Find the diagnostic group registered under the given name. */
public DiagnosticGroup forName(String name) {
public static DiagnosticGroup forName(String name) {
return groupsByName.get(name);
}

Expand Down

0 comments on commit 9c3b9c1

Please sign in to comment.