From 70e2333b8641f0345ca81efcb3153667e61575b2 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 04 Aug 2026 11:50:58 +0000
Subject: [PATCH] Fix CodeQL note-severity alerts: stale @param tags (#842)

---
 opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
index 721c1e5..b3ac401 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.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.backends;
 
@@ -789,8 +790,8 @@
    * the given schema, replacing an existing type if necessary, and ensuring all
    * other metadata is properly updated.
    *
-   * @param  attributeType        The attribute type to add or replace in the
-   *                              server schema.
+   * @param  definition           The definition of the attribute type to add or
+   *                              replace in the server schema.
    * @param  schemaBuilder        The schema builder to which the attribute type should
    *                              be added.
    * @param  modifiedSchemaFiles  The names of the schema files containing
@@ -987,8 +988,8 @@
    *
    * @param  definition           The definition of objectclass to remove from the server
    *                              schema.
-   * @param  schema               The schema from which the objectclass should
-   *                              be removed.
+   * @param  newSchemaBuilder     The schema builder from which the objectclass
+   *                              should be removed.
    * @param  modifications        The full set of modifications to be processed
    *                              against the server schema.
    * @param  currentPosition      The position of the modification currently
@@ -1062,8 +1063,8 @@
    * the given schema, replacing an existing name form if necessary, and
    * ensuring all other metadata is properly updated.
    *
-   * @param  nameForm             The name form to add or replace in the server
-   *                              schema.
+   * @param  definition           The definition of the name form to add or replace
+   *                              in the server schema.
    * @param  schemaBuilder        The schema builder to which the name form should be
    *                              added.
    * @param  modifiedSchemaFiles  The names of the schema files containing
@@ -1174,8 +1175,8 @@
    * the given schema, replacing an existing rule if necessary, and ensuring
    * all other metadata is properly updated.
    *
-   * @param  ditContentRule       The DIT content rule to add or replace in the
-   *                              server schema.
+   * @param  definition           The definition of the DIT content rule to add or
+   *                              replace in the server schema.
    * @param  schemaBuilder               The schema to which the DIT content rule
    *                              should be added.
    * @param  modifiedSchemaFiles  The names of the schema files containing

--
Gitblit v1.10.0