Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Integer (0.15 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public static final IntItem ZERO = new IntItem();
    
            private IntItem() {
                this.value = 0;
            }
    
            IntItem(String str) {
                this.value = Integer.parseInt(str);
            }
    
            @Override
            public int getType() {
                return INT_ITEM;
            }
    
            @Override
            public boolean isNull() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private PlexusContainer container;
    
        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                while ((pos = decoded.indexOf('%', pos + 1)) >= 0) {
                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
            return decoded;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  4. 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)
  5. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    new ArrayIterator(value)); } else { append('<'); append(descriptionOf(value)); append('>'); } return this; } private String descriptionOf(Object value) { try { return valueOf(value); } catch (Exception e) { return value.getClass().getName() + "@" + Integer.toHexString(value.hashCode()); } } @Override public <T> Description appendValueList(String start, String separator, String end, T... values) { return appendValueList(start, separator, end, Arrays.asList(values)); } @Override public <T> Description...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    // https://maven.apache.org/guides/mini/guide-http-settings.html
                    Map<String, String> headers = null;
                    Integer connectTimeout = null;
                    Integer requestTimeout = null;
    
                    PlexusConfiguration httpHeaders = config.getChild("httpHeaders", false);
                    if (httpHeaders != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                boolean sourceDominant,
                Map<Object, Object> context) {
            List<String> src = source.getModules();
            if (!src.isEmpty() && sourceDominant) {
                List<Integer> indices = new ArrayList<>();
                List<String> tgt = target.getModules();
                Set<String> excludes = new LinkedHashSet<>(tgt);
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. 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)
  9. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

                    information,
                    defaultTypeRegistry,
                    versionScheme,
                    Collections.emptyMap(),
                    Collections.emptyMap());
    
            int connectionTimeout = (Integer) systemSessionFactory
                    .newRepositorySession(request)
                    .getConfigProperties()
                    .get(ConfigurationProperties.CONNECT_TIMEOUT + "." + server.getId());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top