Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for skip (0.15 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         *
         * @param visitor the visitor to call back, must not be {@code null}
         * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings
         */
        boolean accept(@Nonnull NodeVisitor visitor);
    
        /**
         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        prerequisiteExceptions.get(0));
                // the first exception is added as cause, all other ones as suppressed exceptions
                prerequisiteExceptions.stream().skip(1).forEach(pie::addSuppressed);
                throw pie;
            }
        }
    
        @Override
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            }
    
            return Collections.unmodifiableList(new ArrayList<>(versions));
        }
    
        public void setReaders(Collection<WorkspaceReader> readers) {
            requireNonNull(readers, "readers");
            // skip possible null entries
            this.readers = Collections.unmodifiableList(
                    new ArrayList<>(readers.stream().filter(Objects::nonNull).collect(Collectors.toList())));
            Key key = new Key(this.readers);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            try {
                URL url = new URL(originalRepository.getUrl());
                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

        private void cleanupTemporaryFiles(List<File> files) {
            for (File file : files) {
                // really don't care if it failed here only log warning
                if (!file.delete()) {
                    logger.warn("skip failed to delete temporary file : " + file.getAbsolutePath());
                    file.deleteOnExit();
                }
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
Back to top