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

Commit b2203285 authored by Isc's avatar Isc
Browse files

Add @NonNull in the constructor for response in the constructor in Capabilities

parent b8567db5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ public class Capabilities {
    @Nullable
    private String eTag;

    public Capabilities(String response, @Nullable String eTag) throws NextcloudHttpRequestFailedException {
    public Capabilities(@NonNull String response, @Nullable String eTag) throws NextcloudHttpRequestFailedException {
        this.eTag = eTag;
        final JSONObject ocs;
        try {