1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Code review changes

This commit is contained in:
sd1998 2018-10-26 18:05:29 +05:30
parent 69c7a24ebb
commit 106b4fd9e5

View File

@ -115,7 +115,8 @@ public class RemoteOperationResult<T extends Object>
LOCAL_FILE_NOT_FOUND,
SERVICE_UNAVAILABLE,
SPECIFIC_SERVICE_UNAVAILABLE,
SPECIFIC_UNSUPPORTED_MEDIA_TYPE
SPECIFIC_UNSUPPORTED_MEDIA_TYPE,
SPECIFIC_METHOD_NOT_ALLOWED
}
private boolean mSuccess = false;
@ -277,7 +278,7 @@ public class RemoteOperationResult<T extends Object>
case HttpConstants.HTTP_METHOD_NOT_ALLOWED:
parseErrorMessageAndSetCode(
httpMethod.getResponseBodyAsString(),
ResultCode.SPECIFIC_SERVICE_UNAVAILABLE
ResultCode.SPECIFIC_METHOD_NOT_ALLOWED
);
default:
break;