From 19dfeca8eace01ecd1a088f9c44f5823fee9b515 Mon Sep 17 00:00:00 2001 From: nasonawa Date: Tue, 26 Sep 2023 07:20:37 +0530 Subject: [PATCH] [ELY-2601] declared newMap on a separate line in PasswordKeyStoreSpi --- .../org/wildfly/security/keystore/PasswordKeyStoreSpi.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/credential/base/src/main/java/org/wildfly/security/keystore/PasswordKeyStoreSpi.java b/credential/base/src/main/java/org/wildfly/security/keystore/PasswordKeyStoreSpi.java index b5c592f6303..3cf4959452a 100644 --- a/credential/base/src/main/java/org/wildfly/security/keystore/PasswordKeyStoreSpi.java +++ b/credential/base/src/main/java/org/wildfly/security/keystore/PasswordKeyStoreSpi.java @@ -91,7 +91,9 @@ public void engineSetEntry(final String alias, final KeyStore.Entry entry, final if (protParam != null) { throw log.keyCannotBeProtected(alias); } - HashMap map, newMap; + HashMap map; + HashMap newMap; + do { map = pwRef.get(); if (map == null) {