mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
08.07.2007 eb30e93628d8dd9bfd7d430a4bb42da75fa284ed
removed code introduced in Java 6
1 files modified
2 ■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 2 ●●● patch | view | raw | blame | history
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);