File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
common/src/main/java/com/microsoft/identity/common/crypto Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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" );
You can’t perform that action at this time.
0 commit comments