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/backends/BackupBackend.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/BackupBackend.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/BackupBackend.java
index ab8c8ce..07074ba 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/BackupBackend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/BackupBackend.java
@@ -13,6 +13,7 @@
*
* Copyright 2006-2008 Sun Microsystems, Inc.
* Portions Copyright 2014-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
*/
package org.opends.server.backends;
@@ -110,7 +111,7 @@
* To avoid parsing and reparsing the contents of backup.info files, we
* cache the BackupDirectory for each directory using this class.
*/
- private class CachedBackupDirectory
+ private static class CachedBackupDirectory
{
/** The path to the 'bak' directory. */
private final String directoryPath;
--
Gitblit v1.10.0