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

matthew_swift
01.04.2010 6439bba5cc09d6febc59bdc9e0d9bc25f1f1eb18
sdk/src/org/opends/sdk/LDAPUrl.java
@@ -463,7 +463,7 @@
    else
    {
      listenPort = port.intValue();
      if (listenPort < 1 && listenPort > Integer.MAX_VALUE)
      if (listenPort < 1 || listenPort > 65535)
      {
        final LocalizableMessage msg = ERR_LDAPURL_BAD_PORT.get(listenPort);
        throw new LocalizedIllegalArgumentException(msg);