Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addMessage (0.17 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

                this.result = result;
            }
    
            public void add(ModelProblemCollectorRequest req) {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    result.addMessage(req.getMessage());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

        }
    
        public String getMessage(int i) {
            return messages.get(i);
        }
    
        public List<String> getMessages() {
            return Collections.unmodifiableList(messages);
        }
    
        public void addMessage(String message) {
            messages.add(message);
        }
    
        public String toString() {
            return render("");
        }
    
        public String render(String indentation) {
            if (messages.size() == 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top