From eb30e93628d8dd9bfd7d430a4bb42da75fa284ed Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 08 Jun 2007 19:07:42 +0000
Subject: [PATCH] removed code introduced in Java 6

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

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
index de1554b..7b02fed 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -2208,7 +2208,7 @@
     // Check the host is not empty.
     // TODO: check that the host name is valid...
     String hostName = qs.getFieldStringValue(FieldName.HOST_NAME);
-    if ((hostName == null) || hostName.trim().isEmpty())
+    if ((hostName == null) || hostName.trim().length() == 0)
     {
       errorMsgs.add(getMsg("empty-host-name"));
       qs.displayFieldInvalid(FieldName.HOST_NAME, true);

--
Gitblit v1.10.0