Polish
See gh-20192
This commit is contained in:
committed by
Stephane Nicoll
parent
ff4de95b3e
commit
e2d87a89d0
@@ -54,7 +54,7 @@ final class ClassPathIndexFile {
|
||||
}
|
||||
|
||||
private String getFolder(String name) {
|
||||
int lastSlash = name.lastIndexOf("/");
|
||||
int lastSlash = name.lastIndexOf('/');
|
||||
return (lastSlash != -1) ? name.substring(0, lastSlash) : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user