Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ddd22eef authored by tobiasKaminsky's avatar tobiasKaminsky
Browse files

changes due to CR

parent 7e659e67
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -52,6 +52,8 @@ public class WebdavEntry {
    public static final String PROPERTY_QUOTA_USED_BYTES = "quota-used-bytes";
    public static final String PROPERTY_QUOTA_AVAILABLE_BYTES = "quota-available-bytes";

    private static final String IS_ENCRYPTED = "1";

    private static final int CODE_PROP_NOT_FOUND = 404;

    private String mName;
@@ -204,7 +206,7 @@ public class WebdavEntry {
            prop = propSet.get(EXTENDED_PROPERTY_FAVORITE,  Namespace.getNamespace(NAMESPACE_OC));
            if (prop != null) {
                String favoriteValue = (String) prop.getValue();
                if ("1".equals(favoriteValue)) {
                if (IS_ENCRYPTED.equals(favoriteValue)) {
                    mIsFavorite = true;
                } else {
                    mIsFavorite = false;
+0 −1
Original line number Diff line number Diff line
@@ -92,7 +92,6 @@ public class GetMetadataOperation extends RemoteOperation {
            }
        } catch (Exception e) {
            result = new RemoteOperationResult(e);
            e.printStackTrace();
            Log_OC.e(TAG, "Fetching of metadata for folder " + fileId + " failed: " +
                    result.getLogMessage(), result.getException());
        } finally {
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ import java.util.ArrayList;
/**
 * Lock a file
 */

public class LockFileOperation extends RemoteOperation {

    private static final String TAG = LockFileOperation.class.getSimpleName();
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ import org.apache.commons.httpclient.methods.DeleteMethod;
/**
 * Unlock a file
 */

public class UnlockFileOperation extends RemoteOperation {

    private static final String TAG = UnlockFileOperation.class.getSimpleName();