Explorar o código

fix lint issue "Do not add empty strings"

David Luhmer %!s(int64=6) %!d(string=hai) anos
pai
achega
6978fd35d1

+ 1 - 1
src/main/java/com/nextcloud/android/sso/InputStreamBinder.java

@@ -211,7 +211,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
         if (status >= HTTP_STATUS_CODE_OK && status < HTTP_STATUS_CODE_MULTIPLE_CHOICES) {
             return method.getResponseBodyAsStream();
         } else {
-            throw new IllegalStateException(EXCEPTION_HTTP_REQUEST_FAILED, new IllegalStateException(""+status));
+            throw new IllegalStateException(EXCEPTION_HTTP_REQUEST_FAILED, new IllegalStateException(String.valueOf(status)));
         }
     }