Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for topat (0.04 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        public void bind(Artifact artifact) {
            artifacts.add(artifact);
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new LocalSnapshotMetadata(metadata, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new LocalSnapshotMetadata(metadata, path, timestamp);
        }
    
        public Object getKey() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

        @Override
        public Settings read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = Files.newInputStream(input.toPath())) {
                InputSource source = new InputSource(input.toString());
                return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
                trackingDir = dir.getParentFile().toPath().resolve(".tracking");
            } else {
                trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking");
            }
    
            String baseName;
            String ext = missing ? ".miss" : ".dep";
            Path trackingFile = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            this.buildNumber = buildNumber;
        }
    
        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new RemoteSnapshotMetadata(metadata, file.toPath(), timestamp, buildNumber);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new RemoteSnapshotMetadata(metadata, path, timestamp, buildNumber);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                if (!temp.renameTo(destination)) {
                    try {
                        Files.copy(
                                temp.toPath(),
                                destination.toPath(),
                                StandardCopyOption.REPLACE_EXISTING,
                                StandardCopyOption.COPY_ATTRIBUTES);
    
                        if (!temp.delete()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(model, "model cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(new XmlStreamWriter(Files.newOutputStream(output.toPath())), options, model);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Model model) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

    public class DefaultPathTranslator implements PathTranslator {
    
        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            return alignToBaseDirectory(path, basedir != null ? basedir.toPath() : null);
        }
    
        @Override
        public String alignToBaseDirectory(String path, Path basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(Files.newOutputStream(output.toPath()), options, settings);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            logger.warning(e.getLocalizedMessage());
                        }
                    }
                }
            }
        }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top