- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for readAllLines (0.35 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ConcatFilesTask.java
} // To remove duplicate lines LinkedHashSet<String> uniqueLines = new LinkedHashSet<>(); for (File f : getFiles()) { uniqueLines.addAll(Files.readAllLines(f.toPath(), StandardCharsets.UTF_8)); } Files.write(getTarget().toPath(), uniqueLines, StandardCharsets.UTF_8, StandardOpenOption.APPEND); for (String additionalLine : additionalLines) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.8K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
} private static String readWrapperVersion() throws IOException { Path props = Paths.get("gradle/wrapper/gradle-wrapper.properties"); List<String> lines = Files.readAllLines(props, StandardCharsets.UTF_8); String distributionUrl = lines.stream() .map(String::trim) .filter(l -> !l.isEmpty() && !l.startsWith("#"))Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
} } private static Map<String, String> readProperties(Path file) throws IOException { Map<String, String> out = new LinkedHashMap<>(); List<String> lines = Files.readAllLines(file, StandardCharsets.UTF_8); for (String line : lines) { String trimmed = line.trim(); if (trimmed.isEmpty() || trimmed.startsWith("#") || trimmed.startsWith("!")) { continue;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 3.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
// The regex `^\\s*\\[\\[(.*)\\]\\]` looks for lines starting with '[[...]]' // and captures the content within the brackets. Files.readAllLines(file).forEach(line -> { if (line.matches("^\\s*\\[\\[(.*)\\]\\].*")) { String anchorName = line.replaceAll("^\\s*\\[\\[(.*)\\]\\].*$", "$1");
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
*/ static String parseJvmConfig(Path jvmConfigPath, String mavenProjectBasedir) throws IOException { StringBuilder result = new StringBuilder(); for (String line : Files.readAllLines(jvmConfigPath, StandardCharsets.UTF_8)) { line = processLine(line, mavenProjectBasedir); if (line.isEmpty()) { continue; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rerun/InternalTestRerunPluginFuncTest.groovy
public void someTest() { ${content} } int countExecutions() { try { return Files.readAllLines(executionLogPath).size(); } catch(IOException e) { return 0; } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 8.9K bytes - Click Count (0)