- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for getSeverity (0.21 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
public void add(ModelProblem problem) { problems.add(problem); severities.add(problem.getSeverity()); } public void addAll(List<ModelProblem> problems) { this.problems.addAll(problems); for (ModelProblem problem : problems) { severities.add(problem.getSeverity()); } } @Override public void add(ModelProblemCollectorRequest req) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals(Severity.ERROR, problem.getSeverity()); problem = new DefaultProblem(null, Severity.FATAL, null, -1, -1, null); assertEquals(Severity.FATAL, problem.getSeverity()); problem = new DefaultProblem(null, Severity.ERROR, null, -1, -1, null); assertEquals(Severity.ERROR, problem.getSeverity());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
String c2 = s2 == null ? "" : s2.trim(); return c1.equals(c2); } private static Severity getSeverity(ModelBuildingRequest request, int errorThreshold) { return getSeverity(request.getValidationLevel(), errorThreshold); } private static Severity getSeverity(int validationLevel, int errorThreshold) { if (validationLevel < errorThreshold) { return Severity.WARNING;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
assertEquals(Severity.ERROR, p1.getSeverity()); assertEquals("MESSAGE1", p1.getMessage()); assertEquals(-1, p1.getLineNumber()); assertEquals(-1, p1.getColumnNumber()); assertNull(p1.getException()); Problem p2 = collector.getProblems().get(1); assertEquals(Severity.WARNING, p2.getSeverity()); assertEquals("", p2.getMessage());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
return msg; } @Override public Severity getSeverity() { return severity; } @Override public Version getVersion() { return version; } @Override public String toString() { StringBuilder buffer = new StringBuilder(128); buffer.append('[').append(getSeverity()).append("] "); buffer.append(getMessage());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
return problem.getMessage(); } @Override public Severity getSeverity() { return Severity.valueOf(problem.getSeverity().name()); } }; } @Nonnull @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
} } return msg; } @Override public Severity getSeverity() { return severity; } @Override public String toString() { StringBuilder buffer = new StringBuilder(128); buffer.append('[').append(getSeverity()).append("] "); buffer.append(getMessage()); String location = getLocation();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
msg = ""; } } return msg; } public Severity getSeverity() { return severity; } @Override public String toString() { StringBuilder buffer = new StringBuilder(128); buffer.append('[').append(getSeverity()).append("] "); buffer.append(getMessage()); String location = getLocation();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java
this.severity = Objects.requireNonNull(severity, "severity cannot be null"); this.version = Objects.requireNonNull(version, "version cannot be null"); } public Severity getSeverity() { return severity; } public Version getVersion() { return version; } public Exception getException() { return exception; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
writer.print("encountered while building the effective settings"); writer.println(); for (SettingsProblem problem : problems) { writer.print("["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = problem.getLocation(); if (!location.isEmpty()) { writer.print(" @ ");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)