Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for lines (0.1 sec)

  1. maven-jline/src/main/java/org/apache/maven/jline/JLineMessageBuilderFactory.java

            List<String> lines = new ArrayList<>();
            for (String line = this.readLine(); line != null && !line.isEmpty(); line = readLine()) {
                lines.add(line);
            }
            return lines;
        }
    
        @Override
        public void write(String line) throws IOException {
            doDisplay(line);
        }
    
        @Override
        public void writeLine(String line) throws IOException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        it.hasNext(); ) {
                    URL url = it.next();
                    List<String> lines;
                    try (InputStream is = url.openStream();
                            BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) {
                        lines = reader.lines()
                                .map(String::trim)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

        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[] {
                        "",
                        "type",
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 14 10:51:16 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            return appendEscapeSequence('E');
        }
    
        /**
         * Moves the cursor to the beginning of the n-th line below. If the parameter n is negative it
         * moves the cursor to the beginning of the n-th line above.
         *
         * @param n the number of lines to move the cursor
         * @return this Ansi instance
         */
        public Ansi cursorDownLine(final int n) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                }
            }
    
            String[] lines = NEXT_LINE.split(msg);
            String currentColor = "";
    
            for (int i = 0; i < lines.length; i++) {
                // add eventual current color inherited from previous line
                String line = currentColor + lines[i];
    
                // look for last ANSI escape sequence to check if nextColor
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            if (relocationsEntries == null) {
                return null;
            }
            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            if (relocationsEntries == null) {
                return null;
            }
            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 18 12:26:49 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            assertEquals(toString(expectedList), toString(actualList));
        }
    
        private static String toString(List<String> lines) {
            StringBuilder sb = new StringBuilder();
            for (String line : lines) {
                sb.append(line).append('\n');
            }
            return sb.toString();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                        for (String line :
                                reader.lines().filter(l -> !l.startsWith("#")).collect(Collectors.toList())) {
                            Class<?> clazz = classLoader.loadClass(line);
                            bindImplicit(clazz);
                        }
                    }
                }
            } catch (Exception e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java

         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top