Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPortString (0.2 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                    }
                    validateStringNotEmpty(problems, "proxies.proxy.host", proxy.getHost(), proxy.getId());
    
                    try {
                        Integer.parseInt(proxy.getPortString());
                    } catch (NumberFormatException e) {
                        addViolation(
                                problems,
                                BuilderProblem.Severity.ERROR,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. api/maven-api-settings/src/main/mdo/settings.mdo

         * To allow interpolation of this field, this method lazily parses
         * the {@link #getPortString()} value as an integer and defaults to {@code 8080}
         * if not set.
         *
         * @return an integer indicating the port to use for this proxy
         */
        public int getPort() {
            return (getPortString() != null) ? Integer.parseInt(getPortString()) : 8080;
        }
    
              </code>
            </codeSegment>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top