Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 140 for toPatch (0.04 seconds)

  1. 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)
  2. 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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override val badValue: Cache =
            Cache(
              object : ForwardingFileSystem(FakeFileSystem()) {
                override fun onPathParameter(
                  path: Path,
                  functionName: String,
                  parameterName: String,
                ): Path = TODO()
              },
              "/cash".toPath(),
              1,
            )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  4. 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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                );
            }
    
            if (problems.isEmpty()) {
                getSuccessMarker().getParentFile().mkdirs();
                Files.write(getSuccessMarker().toPath(), new byte[] {}, StandardOpenOption.CREATE);
            } else {
                getLogger().error(problems);
                throw new IllegalStateException(String.format("Testing conventions [%s] are not honored", problems));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                return result instanceof Path path
                        ? evaluator.alignToBaseDirectory(path.toFile()).toPath()
                        : result;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                    if (!outputFile.exists()) {
                        outputFile.createNewFile();
                    }
                    // Write some dummy content to simulate actual thumbnail
                    Files.write(outputFile.toPath(), ("thumbnail-" + thumbnailId).getBytes());
                    return true;
                } catch (IOException e) {
                    return false;
                }
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

            return substringLicenseMatcher;
        }
    
        private ClaimStatistic generateReport(ReportConfiguration config, File xmlReportFile) {
            try {
                Files.deleteIfExists(reportFile.toPath());
                BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(xmlReportFile));
                return toXmlReportFile(config, bufferedWriter);
            } catch (IOException | RatException exception) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

            );
    
        private void gatherBadSnippetsInFile(File file, Map<File, List<Error>> errors) {
            List<String> lines = new ArrayList<>();
            try (java.util.stream.Stream<String> stream = Files.lines(file.toPath())) {
                stream.forEach(lines::add);
            } catch (IOException ex) {
                // If a file can't be read, add an error
                addError(errors, file, new Error(1, "Failed to read file: " + ex.getMessage()));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

                 * the HEAD file and resolve commondir to the plain git repository.
                 */
                final Path dotGit = rootDir.toPath().resolve(".git");
                final String revision;
                if (Files.exists(dotGit) == false) {
                    return new GitInfo("unknown", "unknown");
                }
                final Path head;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
Back to Top