- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 461 for problems (0.1 sec)
-
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
*/ public ToolchainsBuildingException(List<Problem> problems) { super(toMessage(problems)); this.problems = new ArrayList<>(); if (problems != null) { this.problems.addAll(problems); } } /** * Gets the problems that caused this exception. * * @return The problems that caused this exception, never {@code null}. */
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/Result.java
*/ public static <T> Result<T> newResult(T model, Iterable<? extends ModelProblem> problems) { return new Result<>(hasErrors(problems), model, problems); } /** * New result consisting of given result and new problem. Convenience for newResult(result.get(), * concat(result.getProblems(),problems)). * * @param result * @param problem */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
// Package protected for test static String toMessage(String modelId, List<ModelProblem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were "); writer.print("encountered while building the effective model");
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-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
public void validate(Settings settings, SettingsProblemCollector problems) { validate(settings, false, problems); } @Override public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) { List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings); for (BuilderProblem problem : list) {
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-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingResult.java
private List<Problem> problems; /** * Default constructor * * @param effectiveToolchains the merged toolchains, may not be {@code null} * @param problems the problems while building the effectiveToolchains, if any. */ public DefaultToolchainsBuildingResult(PersistedToolchains effectiveToolchains, List<Problem> problems) { this.effectiveToolchains = effectiveToolchains;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
this.problems = (problems != null) ? problems : new ArrayList<>(); } public List<SettingsProblem> getProblems() { return problems; } public void setSource(String source) { this.source = source; } @Override public void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
repo.setUrl("http://xxx.xxx.com"); problems = new SimpleProblemCollector(); validator.validate(model, problems); assertEquals(1, problems.messages.size()); repo.setId("xxx"); problems = new SimpleProblemCollector(); validator.validate(model, problems); assertEquals(0, problems.messages.size()); } @Test void testValidateMirror() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
private final List<SettingsProblem> problems; /** * Creates a new exception with the specified problems. * * @param problems The problems that cause this exception, may be {@code null}. */ public SettingsBuildingException(List<SettingsProblem> problems) { super(toMessage(problems)); this.problems = new ArrayList<>(); if (problems != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java
import java.util.ArrayList; import java.util.List; /** * Collects problems that are encountered during settings building. * */ class DefaultProblemCollector implements ProblemCollector { private final List<Problem> problems; private String source; DefaultProblemCollector(List<Problem> problems) { this.problems = (problems != null) ? problems : new ArrayList<>(); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
* @param request The model building request that holds further settings, must not be {@code null}. * @param problems The container used to collect problems that were encountered, must not be {@code null}. */ void injectProfile(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0)