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