Browse files

Issue #41ConfigurableWroFilter cannot load extensions

  - The filter was using reflection to call a method that has been renamed, and failing to load extension modules.
  • Loading branch information...
1 parent 1eba287 commit 60f1a163039630ca474bc0797b9ae04161c561e1 Simon van der Sluis committed May 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wro4j-core/src/main/java/ro/isdc/wro/http/ConfigurableWroFilter.java
View
2 wro4j-core/src/main/java/ro/isdc/wro/http/ConfigurableWroFilter.java
@@ -116,7 +116,7 @@ protected ProcessorsFactory newProcessorsFactory() {
LOG.debug("trying to import processors from extensions module...");
try {
final Class<?> clazz = Class.forName("ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory");
- final Method method = clazz.getMethod("pupulateMapWithExtensionsProcessors", Map.class);
+ final Method method = clazz.getMethod("populateMapWithExtensionsProcessors", Map.class);
method.invoke(null, preProcessorsMap);
method.invoke(null, postProcessorsMap);
LOG.debug("[OK] Extensions processors imported successfully: {}", preProcessorsMap.keySet());

0 comments on commit 60f1a16

Please sign in to comment.