mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
add test cases
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
6184fcd5ae
commit
9c1fedb14b
1 changed files with 2 additions and 2 deletions
|
@ -174,8 +174,8 @@ public final class FileStorageUtils {
|
|||
}
|
||||
|
||||
// Path must be normalized; otherwise the next RefreshFolderOperation has a mismatch and deletes the local file.
|
||||
return (remotePath + OCFile.PATH_SEPARATOR + subPath +
|
||||
(fileName == null ? "" : fileName)).replaceAll(OCFile.PATH_SEPARATOR + "+", OCFile.PATH_SEPARATOR);
|
||||
return (remotePath + OCFile.PATH_SEPARATOR + subPath + (fileName == null ? "" : fileName))
|
||||
.replaceAll(OCFile.PATH_SEPARATOR + "+", OCFile.PATH_SEPARATOR);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue