Skip to content

Commit

Permalink
remove unuseful nullable annotation from AccountsUtil class that prev…
Browse files Browse the repository at this point in the history
…ents to sign apks
  • Loading branch information
jesmrec committed Mar 9, 2023
1 parent 4261cc3 commit 7fc76c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import com.owncloud.android.lib.common.accounts.AccountUtils.Constants;
import timber.log.Timber;

import javax.annotation.Nullable;
import java.util.Locale;

import static com.owncloud.android.data.authentication.AuthenticationConstantsKt.KEY_FEATURE_ALLOWED;
Expand Down Expand Up @@ -137,7 +136,7 @@ public static Account getOwnCloudAccountByName(Context context, String accountNa
return null;
}

public static boolean isSpacesFeatureAllowedForAccount(Context context, Account account, @Nullable OCCapability capability) {
public static boolean isSpacesFeatureAllowedForAccount(Context context, Account account, OCCapability capability) {
if (capability == null || !capability.isSpacesAllowed()) {
return false;
}
Expand Down

0 comments on commit 7fc76c2

Please sign in to comment.