Remove unnecessary parameters for String.substring

Closes gh-14661
This commit is contained in:
dreis2211
2018-10-02 18:04:57 +02:00
committed by Stephane Nicoll
parent 7087f90f2d
commit e68b9e8322
2 changed files with 2 additions and 2 deletions

View File

@@ -521,7 +521,7 @@ public class PropertiesLauncher extends Launcher {
file = new File(root.substring("jar:file:".length(), index));
}
parent = new JarFileArchive(file);
root = root.substring(index + 1, root.length());
root = root.substring(index + 1);
while (root.startsWith("/")) {
root = root.substring(1);
}