Commits

lukasz03  committed 09f8ac5

Solved problem with falling test

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1956e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits c087446

Comments (0)

Files changed (1)

File src/test/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java

         int startIndex = fullPath.indexOf(":file:/");
         int endIndex = fullPath.indexOf("!/");
 
-        String jar = fullPath.substring(startIndex + ":file:/".length(), endIndex).replaceAll("%20", " ");
+        String jar = fullPath.substring(startIndex + ":file:/".length() - 1, endIndex).replaceAll("%20", " ");
 
         File file = new File(jar);