Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for formatLocation (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationAssert.java

                String actualLocations = actual.getProblems().stream()
                        .map(p -> formatLocation(p.getColumnNumber(), p.getLineNumber()))
                        .collect(joining(", "));
                String message = String.format(
                        "Expected ProjectBuildingResult to have location <%s> but had locations <%s>",
                        formatLocation(columnNumber, lineNumber), actualLocations);
                assertTrue(false, message);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

            StringBuilder buffer = new StringBuilder(128);
    
            buffer.append('[').append(getSeverity()).append("] ");
            buffer.append(getMessage());
            buffer.append(" @ ").append(ModelProblemUtils.formatLocation(this, null));
    
            return buffer.toString();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                writer.print(" @ ");
                writer.println(ModelProblemUtils.formatLocation(problem, modelId));
            }
    
            return buffer.toString();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            if (ModelProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) {
                String message = problem.getMessage();
    
                String location = ModelProblemUtils.formatLocation(problem, projectId);
    
                if (!location.isEmpty()) {
                    message += " @ " + location;
                }
    
                return handle(message, problem.getException());
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top