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

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