Fix retrieval of only file names
This commit is contained in:
parent
99e0f9ae91
commit
c0296b6020
1 changed files with 2 additions and 2 deletions
|
@ -503,8 +503,8 @@ class C2SRequestSnapshotList implements IPacket {
|
|||
// add file name without db extension to the list
|
||||
|
||||
String trimmedFileName = str.trim().substring(0, str.trim().length - 3);
|
||||
strippedFiles
|
||||
.add(trimmedFileName.substring(trimmedFileName.lastIndexOf("/")));
|
||||
strippedFiles.add(
|
||||
trimmedFileName.substring(trimmedFileName.lastIndexOf("/") + 1));
|
||||
} else {
|
||||
strippedFiles.add(str);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue