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:
parent
69c7a24ebb
commit
106b4fd9e5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user