Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for startsWith (0.17 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataFile(target.toFile());
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataPath(target);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top