Remove unnecessary parameters for String.substring
Closes gh-14661
This commit is contained in:
committed by
Stephane Nicoll
parent
7087f90f2d
commit
e68b9e8322
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user