Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 138 for toPatch (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

        }
    
        private boolean isSameFile(File javaHome, InstallationLocation installationLocation) {
            try {
                return Files.isSameFile(installationLocation.getLocation().toPath(), javaHome.toPath());
            } catch (IOException ioException) {
                throw new UncheckedIOException(ioException);
            }
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                    t.doFirst(new Action<Task>() {
                        @Override
                        public void execute(Task task) {
                            try {
                                Files.createDirectories(testfixturesDir.toPath());
                            } catch (IOException e) {
                                throw new UncheckedIOException(e);
                            }
                        }
                    });
                });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  3. 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();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. android/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();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions())
                .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE);
          }
        } finally {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 19:16:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            }
    
            // TODO: shouldn't have to trim, sha files should not have trailing newline
            byte[] fileBytes = Files.readAllBytes(shaFile.toPath());
            String expectedSha = new String(fileBytes, StandardCharsets.UTF_8).trim();
    
            String sha = getSha1(jar);
    
            if (expectedSha.equals(sha) == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

            if (!Features.consumerPom(session.getConfigProperties())) {
                try {
                    Model model = read(project.getFile().toPath());
                    String version = model.getVersion();
                    if (version == null && model.getParent() != null) {
                        version = model.getParent().getVersion();
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java

            TaskProvider<ExportElasticsearchBuildResourcesTask> resourcesTask = project.getTasks()
                .register("forbiddenApisResources", ExportElasticsearchBuildResourcesTask.class);
            Path resourcesDir = project.getBuildDir().toPath().resolve("forbidden-apis-config");
            resourcesTask.configure(t -> {
                t.setOutputDir(resourcesDir.toFile());
                t.copy("forbidden/jdk-signatures.txt");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
Back to Top