From bd8b80653a50e445f59cac7c1e80309dba23712e Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 04 Aug 2026 08:28:21 +0000
Subject: [PATCH] Fix CodeQL note-severity alerts: dead parameters of private methods (#834)
---
opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumEvalResult.java | 16 ++++------------
1 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumEvalResult.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumEvalResult.java
index 05329b5..985f783 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumEvalResult.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumEvalResult.java
@@ -26,30 +26,22 @@
/**
* This enumeration is returned when the result of the evaluation is TRUE.
*/
- TRUE(0),
+ TRUE,
/**
* This enumeration is returned when the result of the evaluation is FALSE.
*/
- FALSE(1),
+ FALSE,
/**
* This enumeration is returned when the result of the evaluation is FAIL.
* This should only be returned when a system failure occurred.
*/
- FAIL(2),
+ FAIL,
/**
* This is an internal enumeration used during evaluation of bind rule when
* internal processing of the evaluation is undefined. It is never returned
* back as a result of the evaluation.
*/
- ERR(3);
-
- /**
- * Create a new enumeration type for the specified result value.
- * @param v The value of the result.
- */
- EnumEvalResult(int v) {
- }
-
+ ERR;
/**
* The method tries to determine if the result was undefined, and if so
* it returns an FAIL enumeration. If the result was not undefined (the
--
Gitblit v1.10.0