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-cli/src/main/java/com/forgerock/opendj/cli/ArgumentParser.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/ArgumentParser.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/ArgumentParser.java
index 720dc50..b80f5d4 100644
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/ArgumentParser.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/ArgumentParser.java
@@ -13,6 +13,7 @@
*
* Copyright 2006-2010 Sun Microsystems, Inc.
* Portions copyright 2012-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
*/
package com.forgerock.opendj.cli;
@@ -540,7 +541,7 @@
* A supplement to the description for all subcommands of this tool,
* intended for use in generated reference documentation.
*/
- private class DocSubcommandDescriptionSupplement implements DocDescriptionSupplement {
+ private static class DocSubcommandDescriptionSupplement implements DocDescriptionSupplement {
/** A supplement to the description intended for use in generated reference documentation. */
private LocalizableMessage docDescriptionSupplement;
--
Gitblit v1.10.0