Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for toPatch (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

                int lineNumber,
                int columnNumber,
                Exception exception) {
            this(
                    message,
                    severity,
                    version,
                    ModelProblemUtils.toPath(source),
                    lineNumber,
                    columnNumber,
                    ModelProblemUtils.toId(source),
                    exception);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            if (!baseDir.exists()) {
                return 0;
            }
            try {
                final FilePurgeVisitor visitor = new FilePurgeVisitor(baseDir.toPath(), imageExtention, expiry);
                Files.walkFileTree(baseDir.toPath(), visitor);
                return visitor.getCount();
            } catch (final Exception e) {
                throw new JobProcessingException(e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
        public FileSource(Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
            InOrder inOrder = inOrder(logger);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                public
                override fun doExecute(bufferedWriter: BufferedWriter) {
                    val packages = Implementation(excludes.get(), includes.get()).collectPackages(classpath.files.map(File::toPath))
                    packages.dump(false, object : ErroringAction<String>() {
                        @Throws(Exception::class)
                        override fun doExecute(s: String) {
                            bufferedWriter.write(s)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top