Skip to content

Commit

Permalink
Fix NPE when using jboss.vfs.forceCanonical=true and URL with jar:fil…
Browse files Browse the repository at this point in the history
…e: scheme.
  • Loading branch information
csams authored and dmlloyd committed Jul 24, 2012
1 parent 3a473a6 commit 8baae0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jboss/virtual/VFSUtils.java
Expand Up @@ -1061,7 +1061,7 @@ public static String getRelativePath(VFSContext context, URI uri)
* @param uri the uri
* @return uri's path
*/
protected static String getPath(URI uri)
public static String getPath(URI uri)
{
String path = uri.getPath();
if(path == null)
Expand Down

0 comments on commit 8baae0d

Please sign in to comment.