Skip to content

Commit

Permalink
Fix lints/ErrorProne warnings (GrapheneOS#53)
Browse files Browse the repository at this point in the history
LGTM
  • Loading branch information
brandonweeks authored and quh4gko8 committed Dec 29, 2023
1 parent 223d8b6 commit 422b1ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
/** Utils to get java representation of ASN1 types. */
class ASN1Parsing {

private ASN1Parsing() {}

static boolean getBooleanFromAsn1(ASN1Encodable asn1Value) {
return getBooleanFromAsn1(asn1Value, true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@ public class Constants {
static final int KM_VERIFIED_BOOT_STATE_FAILED = 3;
// Unsigned max value of 32-bit integer, 2^32 - 1
static final long UINT32_MAX = (((long) Integer.MAX_VALUE) << 1) + 1;

private Constants() {}
}

0 comments on commit 422b1ac

Please sign in to comment.