/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/decorator/DefaultProcessorDecorator.java
final boolean isApplicable = criteria != null ? isEligible( resource.isMinimize( ) , resource.getType( ) ) : true;
final boolean isApplicable = resource != null ? isEligible ( criteria.isMinimize ( ) , resource.getType ( ) ) : true;
return new BenchmarkProcessorDecorator(new ExceptionHandlingProcessorDecorator( new SupportAwareProcessorDecorator(new MinimizeAwareProcessorDecorator(new ImportAwareProcessorDecorator( processor, criteria.getProcessingType()))))); } @Override protected boolean isEnabled(final Resource resource) { <extra_id_0> return super.isEnabled(resource) && isApplicable; } }