Skip to content

Commit

Permalink
Fix getting correct plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Jan 15, 2015
1 parent 2da7a9e commit 22c1439
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -23,7 +23,7 @@ public class Support {

private final List<String> additionalTags = new ArrayList<String>();

private static Map<Class<? extends Support>, Plugin> plugins = null;
private static Map<Class<? extends Support>, Plugin> plugins = new HashMap<Class<? extends Support>, Plugin>();

public static <T extends Plugin> T getPlugin(Class<? extends Support> support) {
return (T) plugins.get(support);
Expand Down

0 comments on commit 22c1439

Please sign in to comment.