String filePath = "";
for (OCShare share: shares) {
if (filePath != share.getPath()){
+ filePath = share.getPath();
resetShareFlagInAFile(filePath);
operations = prepareRemoveSharesInFile(filePath, operations);
- filePath = share.getPath();
}
}
Log_OC.e(TAG, "Exception in batch of operations " + e.getMessage());
} catch (RemoteException e) {
- Log_OC.e(TAG, "Exception in batch of operations " + e.getMessage());
+
}
}