From 7af51501d5a70e6cdff45d7c1c804f0e820d1d3a Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 04 Aug 2026 11:53:39 +0000
Subject: [PATCH] Fix CodeQL note-severity alerts: Thread.run() calls and getters leaking internal state (#847)

---
 opendj-cli/src/main/java/com/forgerock/opendj/cli/Argument.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/Argument.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/Argument.java
index db3da96..3cbf468 100644
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/Argument.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/Argument.java
@@ -13,6 +13,7 @@
  *
  * Copyright 2006-2008 Sun Microsystems, Inc.
  * Portions copyright 2014-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
  */
 package com.forgerock.opendj.cli;
 
@@ -374,6 +375,9 @@
 
     /**
      * Retrieves the set of string values for this argument.
+     * <p>
+     * The returned list is the live one: {@code ListBackends} removes the backend identifiers it
+     * could not resolve from it, and {@code InstallDS} adds the default base DN to it.
      *
      * @return The set of string values for this argument.
      */

--
Gitblit v1.10.0