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

Remove e.getMessage() duplication when e is passed as object

    XMLWordPrintableJSON

Details

    Description

      In many spots this is code:

      throw new Exception( "Failed to run Maven: " + e.getMessage(), e ); 

      e.getMessage() is redundant because e is already passed to the new exception. It will duplicate the message. Zero benefit. We shall remove them.

      Attachments

        Activity

          People

            michael-o Michael Osipov
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: