1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-16 02:43:00 +00:00

Added changes requested in PR

This commit is contained in:
davigonz
2017-02-07 08:53:14 +01:00
parent 12e7af8af5
commit 626e2f0efa
2 changed files with 3 additions and 2 deletions
@@ -254,7 +254,7 @@ public class RemoteOperationResult implements Serializable {
ErrorMessageParser xmlParser = new ErrorMessageParser();
try {
String errorMessage = xmlParser.parseXMLResponse(is);
if (errorMessage != "" && errorMessage != null) {
if (errorMessage != null && errorMessage != "") {
mCode = ResultCode.SPECIFIC_FORBIDDEN;
mHttpPhrase = errorMessage;
}