/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/model/factory/SmartWroModelFactory.java
return return new JsonModelFactory( ) {   Override   protected InputStream getModelResourceAsStream( ) throws IOException {     if ( ( wroFile) == null) {       return super.getModelResourceAsStream( ) ;     }     return createAutoDetectedStream( getDefaultModelFilename( ) ) ;   } }  {
return new XmlModelFactory ( ) {
list.add(newXmlModelFactory()); list.add(newGroovyModelFactory()); list.add(newJsonModelFactory()); return list; } private XmlModelFactory newXmlModelFactory() { <extra_id_0> @Override protected InputStream getModelResourceAsStream() throws IOException { if (wroFile == null) { return super.getModelResourceAsStream(); }