Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 108 for toPatch (0.06 seconds)

  1. 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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                throw e;
            }
        }
    
        private File getRootProject(MavenExecutionRequest request) {
            Path rootDirectory = request.getRootDirectory();
            if (request.getPom().getParentFile().toPath().equals(rootDirectory)) {
                return request.getPom();
            } else {
                Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
                if (rootProjectPom == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

        @Override
        public ProjectBuildingResult build(File pomFile, ProjectBuildingRequest request) throws ProjectBuildingException {
            try (BuildSession bs = new BuildSession(request)) {
                Path path = pomFile.toPath();
                return bs.build(false, path, Sources.buildSource(path));
            }
        }
    
        @Deprecated
        @Override
        public ProjectBuildingResult build(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        private
        fun File.withUniqueDirectory(prefixPath: String): File =
            Files.createTempDirectory(
                withDirectory(prefixPath.substringBeforeLast("/")).toPath(),
                prefixPath.substringAfterLast("/")
            ).toFile()
    
        private
        fun File.withDirectory(path: String): File =
            resolve(path).apply {
                mkdirs()
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                return nameSet.stream().sorted().collect(Collectors.toList());
            }
            for (final File jarFile : jarFiles) {
                try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) {
                    final Path xmlPath = fs.getPath("fess_ds++.xml");
                    if (!Files.exists(xmlPath)) {
                        if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            validateApi(body, messages -> {});
            return asStream("elevate.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        elevateWordService.exportCsv(writer);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        public Object getValue(String expression) {
                            if (projectDir != null && "baseUri".equals(expression)) {
                                return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString();
                            }
                            return null;
                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                }
            }
    
            private String getPackageName(File file) throws IOException {
                try (Stream<String> lines = Files.lines(file.toPath())) {
                    String packageLine = lines.filter(line -> line.startsWith("package"))
                        .findFirst()
                        .orElseThrow(() -> new IOException("Can't find package definition in file " + file));
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
Back to Top