Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 93 for toPatch (0.18 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

         * TODO share with DefaultPluginMappingManager.
         */
        protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException {
    
            try (InputStream in = Files.newInputStream(mappingFile.toPath())) {
                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            // Log the error but don't throw to avoid masking exceptions from the main operation
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          assertThat(file.getName()).contains("FileBackedOutputStream");
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K 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());
            }
        }
    
        /**
         * Returns an InputStream to read the content from the cache.
         * If the content is stored in a file, a FileInputStream is returned.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            File pomFile = model.getPomFile();
            if (pomFile != null) {
                buffer.append(" (").append(pomFile).append(')');
            }
    
            return buffer.toString();
        }
    
        static String toPath(Model model) {
            String path = "";
    
            if (model != null) {
                File pomFile = model.getPomFile();
    
                if (pomFile != null) {
                    path = pomFile.getAbsolutePath();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            } finally {
                if (dfos != null && !dfos.isInMemory()) {
                    final File file = dfos.getFile();
                    try {
                        Files.delete(file.toPath());
                    } catch (final IOException e) {
                        logger.warn("Failed to delete {}.", file.getAbsolutePath(), e);
                    }
                }
            }
    
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem, true)
                    .get()
                    .withLocalRepositoryBaseDirectories(new File("target/test-classes/apiv4-repo").toPath())
                    .build();
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
            DefaultMavenExecutionResult meres = new DefaultMavenExecutionResult();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        }
    
        protected MavenExecutionRequest createMavenExecutionRequest(File pom) throws Exception {
            MavenExecutionRequest request = new DefaultMavenExecutionRequest()
                    .setRootDirectory(pom != null ? pom.toPath().getParent() : null)
                    .setPom(pom)
                    .setProjectPresent(true)
                    .setShowErrors(true)
                    .setPluginGroups(Arrays.asList("org.apache.maven.plugins"))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

            validateApi(body, messages -> {});
            return asStream("badword.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        badWordService.exportCsv(writer);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                return result instanceof Path path
                        ? evaluator.alignToBaseDirectory(path.toFile()).toPath()
                        : result;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top