- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DefaultProblemCollector (0.1 sec)
-
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-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
import static org.junit.jupiter.api.Assertions.assertNull; class DefaultProblemCollectorTest { @Test void testGetProblems() { DefaultProblemCollector collector = new DefaultProblemCollector(null); assertNotNull(collector.getProblems()); assertEquals(0, collector.getProblems().size()); collector.add(null, "MESSAGE1", -1, -1, 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-builder-support/src/main/java/org/apache/maven/building/ProblemCollectorFactory.java
* @param problems starting set of problems, may be {@code null} * @return a new instance of a ProblemCollector */ public static ProblemCollector newInstance(List<Problem> problems) { return new DefaultProblemCollector(problems); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0)