Permalink
Browse files

Modified the code to allow usage of grantiteds templates located in t…

…he classpath.
  • Loading branch information...
1 parent 2fb7a09 commit 787f4c3372675ff0019049ce0d5eb6be29d7c806 @chrisdutz chrisdutz committed Jul 12, 2011
@@ -204,7 +204,7 @@ private String getStringIndex1( String[] a )
private String getStringByIndex( String[] a, int index )
{
String s = a == null ? null : ( a.length < index + 1 ? null : a[index] );
- return s == null ? null : new File( s ).toURI().toString();
+ return s == null ? null : (s.startsWith(SHADED_PREFIX)) ? s : new File( s ).toURI().toString();
}
private TemplateUri[] createTemplateUris( String baseUri, String uri )

0 comments on commit 787f4c3

Please sign in to comment.