From 0c4987c8590b051485e95bcda5e3f89c892d0ac5 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 04 Aug 2026 08:27:35 +0000
Subject: [PATCH] Fix CodeQL note-severity alerts: missing @Override annotations (#837)
---
opendj-server-legacy/src/snmp/src/org/opends/server/snmp/DsApplIfOpsEntryImpl.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/DsApplIfOpsEntryImpl.java b/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/DsApplIfOpsEntryImpl.java
index 683e884..cd37c0b 100644
--- a/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/DsApplIfOpsEntryImpl.java
+++ b/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/DsApplIfOpsEntryImpl.java
@@ -13,6 +13,7 @@
*
* Copyright 2008 Sun Microsystems, Inc.
* Portions Copyright 2012-2014 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
*/
package org.opends.server.snmp;
@@ -85,6 +86,7 @@
* Getter for the "DsApplIfProtocol" variable.
* @return an OID representing the connection handler:port
*/
+ @Override
public String getDsApplIfProtocol() {
String portNumber = (String)this.monitor.getAttribute
(this.connectionHandlerName, "ds-connectionhandler-listener");
@@ -326,6 +328,7 @@
* Returns the ObjectName of the SNMP entry MBean.
* @return ObjectName of the entry
*/
+ @Override
public ObjectName getObjectName() {
if (this.entryName == null) {
try {
--
Gitblit v1.10.0