Merge pull request #2821 from nextcloud/refresh-folder-operation-vector-replace

operations: Replace use of Vector with a unsynchronized equivalent.
This commit is contained in:
Andy Scherzinger 2018-07-13 15:14:28 +02:00 committed by GitHub
commit cb02d480c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -360,7 +360,7 @@ public class RefreshFolderOperation extends RemoteOperation {
Log_OC.d(TAG, "Remote folder " + mLocalFolder.getRemotePath() + " changed - starting update of local data ");
List<OCFile> updatedFiles = new Vector<>(folderAndFiles.size() - 1);
List<OCFile> updatedFiles = new ArrayList<>(folderAndFiles.size() - 1);
mFilesToSyncContents.clear();
// if local folder is encrypted, download fresh metadata