Skip to content

Commit 2cca640

Browse files
committed
final keyword
1 parent 73d6e78 commit 2cca640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/microsoft/identity/common/crypto/AndroidWrappedKeyLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ private void saveSecretKeyToStorage(@NonNull final SecretKey unencryptedKey) thr
262262
final Span span = OTelUtility.createSpan(SpanName.KeyPairGeneration.name());
263263
final long keypairGenStartTime = System.currentTimeMillis();
264264
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && CommonFlightsManager.INSTANCE.getFlightsProvider().isFlightEnabled(CommonFlight.ENABLE_NEW_KEY_GEN_SPEC_FOR_WRAP)) {
265-
try (Scope scope = SpanExtension.makeCurrentSpan(span)) {
265+
try (final Scope scope = SpanExtension.makeCurrentSpan(span)) {
266266
keyPair = attemptKeyPairGeneration(mAlias, true, keypairGenStartTime);
267267
Logger.info(methodTag, "Successfully generated keypair with new KeyPairGeneratorSpec with wrap purpose.");
268268
Span.current().setAttribute(AttributeName.key_pair_gen_successful_method.name(), "new_key_gen_spec_with_wrap");

0 commit comments

Comments
 (0)