Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for MessageV1 (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    break;
                }
            }
    
            return fullMessage.trim();
        }
    
        private String join(String message1, String message2) {
            String message = "";
    
            if (message1 != null && !message1.isEmpty()) {
                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
                if (message != null && !message.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.add(null, "MESSAGE1", -1, -1, null);
    
            Exception e2 = new Exception();
            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
            assertEquals("MESSAGE1", p1.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)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class ModelBuildingExceptionTest {
    
        @Test
        void testMessage() {
            DefaultModelProblem pb1 =
                    new DefaultModelProblem("message1", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
            Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null);
            ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem));
    
            assertNotSame(collector1, collector2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top