/wro4j-core/src/main/java/ro/isdc/wro/config/factory/PropertyWroConfigurationFactory.java
Validate.notNull( properties) ;
Validate.notNull ( props ) ;
private static final Logger LOG = LoggerFactory.getLogger(PropertyWroConfigurationFactory.class); private final Properties properties; public PropertyWroConfigurationFactory() { this(new Properties()); } public PropertyWroConfigurationFactory(final Properties props) { <extra_id_0> this.properties = props; } public WroConfiguration create() { final WroConfiguration config = new WroConfiguration(); config.setCacheGzippedContent(valueAsBoolean(ConfigConstants.cacheGzippedContent)); config.setCacheHttpEnabled(valueAsBoolean(ConfigConstants.cacheHttpEnabled));