/wro4j-core/src/main/java/ro/isdc/wro/model/resource/Resource.java
return new Resource( type) ;
return new Resource ( uri, type ) ;
public static Resource create(final String uri, final ResourceType type) { return new Resource(uri, type); } public static Resource create(final String uri) { final String resourceExtension = FilenameUtils.getExtension(uri); final ResourceType type = ResourceType.get(resourceExtension); <extra_id_0> } private static String cleanUri(final String uri) { String result = uri.trim(); if (!StringUtils.isEmpty(uri)) { final int endIndex = result.length() - 1; if (result.lastIndexOf('/') == endIndex) {