- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for readAllLines (0.23 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2K bytes - Click Count (0) -
.github/workflows/CheckBadMerge.groovy
if (args.length != 1) { System.err.println("Usage: groovy CheckBadMerge.groovy <commits_file>") System.exit(1) } List<String> commits = Files.readAllLines(Paths.get(args[0])) try { commits.each { checkCommit(it) } } finally { THREAD_POOL.shutdown() } } static void checkCommit(String commit) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jan 24 10:03:31 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java
@Test @SuppressWarnings("checkstyle:UnusedLocalVariable") void testAptConsistency() throws Exception { File apt = getTestFile("src/site/apt/artifact-handlers.apt"); List<String> lines = Files.readAllLines(apt.toPath()); for (String line : lines) { if (line.startsWith("||")) { String[] cols = line.split("\\|\\|"); String[] expected = new String[] {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4K 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 Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.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 Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/io/CharStreams.java
* BufferedReader#lines()}. * * <p><b>Java 25+ users:</b> If the input is a {@link Reader}, you may prefer {@link * Reader#readAllLines()}. The two may have different performance characteristics for different * {@link Reader} classes and Java versions, but both methods read the entire input into memoryCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* Files.asCharSource(file, charset).readLines()}. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#readAllLines(java.nio.file.Path, Charset)}. * * @param file the file to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for * helpful predefined constants
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
guava/src/com/google/common/io/Files.java
* Files.asCharSource(file, charset).readLines()}. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#readAllLines(java.nio.file.Path, Charset)}. * * @param file the file to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for * helpful predefined constants
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0)