Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 108 for getFiles (0.18 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                if (conflictingProject != null) {
                    throw new DuplicateProjectException(
                            projectId,
                            conflictingProject.getFile(),
                            project.getFile(),
                            "Project '" + projectId + "' is duplicated in the reactor");
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/artifact/PluginArtifact.java

                    plugin.getVersion(),
                    null,
                    "maven-plugin",
                    null,
                    new PluginArtifactHandler());
            this.plugin = plugin;
            setFile(pluginArtifact.getFile());
            setResolved(true);
        }
    
        public List<Dependency> getDependencies() {
            return plugin.getDependencies();
        }
    
        public List<Dependency> getManagedDependencies() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (artifact == null) {
                return;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                File systemFile = artifact.getFile();
    
                if (systemFile == null) {
                    throw new ArtifactNotFoundException("System artifact: " + artifact + " has no file attached", artifact);
                }
    
    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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                            .build();
    
                    activation.os(os);
                }
    
                org.apache.maven.api.model.ActivationFile modelFile = modelActivation.getFile();
    
                if (modelFile != null) {
                    org.apache.maven.api.settings.ActivationFile file =
                            org.apache.maven.api.settings.ActivationFile.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                    os.setVersion(profileOs.getVersion());
    
                    activation.setOs(os);
                }
    
                org.apache.maven.profiles.ActivationFile profileFile = profileActivation.getFile();
    
                if (profileFile != null) {
                    ActivationFile file = new ActivationFile();
    
                    file.setExists(profileFile.getExists());
                    file.setMissing(profileFile.getMissing());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    if (pomFiles == null) {
                        pomFiles = new ArrayList<>(Arrays.asList(collision.getFile(), project.getFile()));
                        collisions.put(projectId, pomFiles);
                    } else {
                        pomFiles.add(project.getFile());
                    }
                }
            }
    
            if (!collisions.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkTester.java

        this.caseDesc = checkNotNull(caseDesc);
      }
    
      @Override
      public String getName() {
        return super.getName() + " [" + suiteName + " [" + caseDesc + "]]";
      }
    
      protected static ImmutableList<String> getLines(final String string) {
        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            // only show msg if a change is actually taking place
            if (!replacement.getScope().equals(artifact.getScope())) {
                String msg = indent + artifact + " (applying system path: " + replacement.getFile() + ")";
                logger.debug(msg);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            return new ArtifactModelSource(pomArtifact.getFile(), groupId, artifactId, version);
        }
    
        record Result(ModelSource source, Parent parent, Exception e) {}
    
        @Override
        public ModelSource resolveModel(final Parent parent, AtomicReference<Parent> modified)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top