Skip to content

Commit

Permalink
Merge pull request payara#6802 from Pandrex247/FISH-8953-Community
Browse files Browse the repository at this point in the history
FISH-8953 Fix Incorrect Unprocessed Change Showing for Hazelcast Encryption Settings
  • Loading branch information
Pandrex247 committed Aug 13, 2024
1 parent 6c8be3b commit 326fbed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,8 @@ public int getPort() {
public UnprocessedChangeEvents changed(PropertyChangeEvent[] pces) {
List<UnprocessedChangeEvent> unprocessedChanges = new ArrayList<>();
for (PropertyChangeEvent pce : pces) {
if (pce.getPropertyName().equalsIgnoreCase("datagrid-encryption-enabled")) {
if (pce.getPropertyName().equalsIgnoreCase("datagrid-encryption-enabled")
&& Boolean.parseBoolean(pce.getOldValue().toString()) != Boolean.parseBoolean(pce.getNewValue().toString())) {
unprocessedChanges.add(new UnprocessedChangeEvent(pce, "Hazelcast encryption settings changed"));
}
}
Expand Down

0 comments on commit 326fbed

Please sign in to comment.