Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isCommentLine (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         * Tests whether a line is a comment, i.e. whether it starts with a comment
         * character.
         *
         * @param line the line
         * @return a flag if this is a comment line
         */
        static boolean isCommentLine(String line) {
            String s = line.trim();
            // blank lines are also treated as comment lines
            return s.isEmpty() || COMMENT_CHARS.indexOf(s.charAt(0)) >= 0;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top