Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readAllLines (0.09 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

        }
    
        @Test
        public void testPerf() throws IOException {
            List<String[]> data = new ArrayList<>();
            String k = null;
            for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) {
                if (line.startsWith("\t")) {
                    data.add(new String[] {k, line.trim()});
                } else {
                    k = line;
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. 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[] {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. 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;
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top