Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skip (0.34 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)
Back to top