Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for toExternalForm (0.09 seconds)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

            }
    
            if (!UrlSource.class.equals(obj.getClass())) {
                return false;
            }
    
            UrlSource other = (UrlSource) obj;
            return Objects.equals(url.toExternalForm(), other.url.toExternalForm());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

        @Test
        void testGetLocation() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            assertEquals(txtFile.toExternalForm(), source.getLocation());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    InputSource inputSource = new InputSource();
                    inputSource.setModelId(modelId);
                    inputSource.setLocation(getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, inputSource);
    
                    superModel = modelProcessor.read(is, options);
                } catch (IOException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top