Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for column (0.15 sec)

  1. maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.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(Problem.Severity severity, String message, int line, int column, Exception cause);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

        public void setSource(String source) {
            this.source = source;
        }
    
        @Override
        public void add(Problem.Severity severity, String message, int line, int column, Exception cause) {
            Problem problem = new DefaultProblem(message, severity, source, line, column, cause);
    
            problems.add(problem);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         */
        int getLineNumber();
    
        /**
         * Gets the one-based index of the column containing the problem. The column number should refer to some text file
         * that is given by {@link #getSource()}.
         *
         * @return The one-based index of the column containing the problem or non-positive value if unknown.
         */
        int getColumnNumber();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

         * @param lineNumber The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param columnNumber The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param exception The exception that caused this problem, may be {@code null}.
         */
        DefaultProblem(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
         * Gets the one-based index of the column containing the error.
         *
         * @return The one-based index of the column containing the error or non-positive value if unknown.
         */
        public int getColumnNumber() {
            return columnNumber;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java

                source = getSource();
            }
    
            if (line <= 0 && column <= 0 && exception instanceof ModelParserException e) {
                line = e.getLineNumber();
                column = e.getColumnNumber();
            }
    
            ModelProblem problem =
                    new DefaultModelProblem(message, severity, version, source, line, column, modelId, exception);
    
            add(problem);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

                buffer.append("line ").append(getLineNumber());
            }
            if (getColumnNumber() > 0) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
                buffer.append("column ").append(getColumnNumber());
            }
            return buffer.toString();
        }
    
        @Override
        public String toString() {
            StringBuilder buffer = new StringBuilder(128);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java

                                    problem.getLineNumber() > 0 ? "line " + problem.getLineNumber() : "",
                                    problem.getColumnNumber() > 0 ? "column " + problem.getColumnNumber() : "")
                            .filter(s -> !s.isEmpty())
                            .collect(Collectors.joining(", "));
                    if (!loc.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

        /**
         * Creates a string with all location details for the specified model problem. If the project identifier is
         * provided, the generated location will omit the model id and source information and only give line/column
         * information for problems originating directly from this POM.
         *
         * @param problem The problem whose location should be formatted, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top