From c34642325775e6b3054af2ca456bbfe5c3ff1b54 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Wed, 05 Aug 2026 08:33:48 +0000
Subject: [PATCH] Fix CodeQL note-severity alerts: the leftovers of the already-fixed rules (#850)

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java
index 70deb66..661af28 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java
@@ -3364,7 +3364,7 @@
     if (errorMsgs.isEmpty())
     {
       AuthenticationData auth = new AuthenticationData();
-      auth.setHostPort(new HostPort("".equals(host) ? null : host, port != null ? port : 0));
+      auth.setHostPort(new HostPort(host.isEmpty() ? null : host, port != null ? port : 0));
       auth.setDn(dn);
       auth.setPwd(pwd);
       auth.setUseSecureConnection(true);

--
Gitblit v1.10.0