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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment