commit fdb36ff588c15a6043009b1e86cfa4c1e3ac8f7f
parent cb090e068f1346fb76f7426011cfcc1b8f6b4627
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Date: Wed, 12 Nov 2025 14:08:20 +0000
Bug 1998850 - Use Boolean.valueOf() instead of deprecated constructor. r=geckoview-reviewers,m_kato
warning: Use `Boolean.valueOf(credProps)` instead (UseValueOf)
Differential Revision: https://phabricator.services.mozilla.com/D271718
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/WebAuthnUtils.java b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/WebAuthnUtils.java
@@ -170,7 +170,7 @@ public class WebAuthnUtils {
}
public Builder setCredProps(final boolean credProps) {
- this.mCredProps = new Boolean(credProps);
+ this.mCredProps = Boolean.valueOf(credProps);
return this;
}