From 084d46dceda5b81998f27d70b54905e4dc612598 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 04 Aug 2026 11:52:33 +0000
Subject: [PATCH] Fix CodeQL note-severity alerts: nested classes which never use the enclosing instance (#846)

---
 opendj-server-legacy/src/main/java/org/opends/server/tools/EncodePassword.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/EncodePassword.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/EncodePassword.java
index 8132dba..c8b4ec9 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/EncodePassword.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/EncodePassword.java
@@ -13,6 +13,7 @@
  *
  * Copyright 2006-2010 Sun Microsystems, Inc.
  * Portions Copyright 2011-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
  */
 package org.opends.server.tools;
 
@@ -668,7 +669,7 @@
   }
 
   /** Thread that mask user input. */
-  private class ErasingThread extends Thread
+  private static class ErasingThread extends Thread
   {
     private boolean stop;
     private String prompt;

--
Gitblit v1.10.0