Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1079

Improve Javadoc of MessageBuilder, add #build() and deprecate #toString()

    XMLWordPrintableJSON

Details

    Description

      It is not clear from the javadoc of MessageBuilder (https://maven.apache.org/shared/maven-shared-utils/apidocs/org/apache/maven/shared/utils/logging/MessageBuilder.html) that the toString() method is supposed to be called at the end to get the content's of the builder.
      Please add JavaDoc for the toString method and in the best case add an explicit build method, which just calls toString internally.

      Also it needs to be clarified if the MessageBuilder can be reused after toString has been called.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: