[jira] [Updated] (MSHARED-1142) Remove e.getMessage() duplication when e is passed as object

2022-09-22 Thread Slawomir Jaranowski (Jira)


 [ 
https://issues.apache.org/jira/browse/MSHARED-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Slawomir Jaranowski updated MSHARED-1142:
-
Issue Type: Improvement  (was: Task)

> Remove e.getMessage() duplication when e is passed as object
> 
>
> Key: MSHARED-1142
> URL: https://issues.apache.org/jira/browse/MSHARED-1142
> Project: Maven Shared Components
>  Issue Type: Improvement
>  Components: maven-verifier
>Reporter: Michael Osipov
>Priority: Major
>  Labels: up-for-grabs
> Fix For: maven-verifier-2.0.0-M1
>
>
> In many spots this is code:
> {noformat}
> throw new Exception( "Failed to run Maven: " + e.getMessage(), e ); {noformat}
> {{e.getMessage()}} is redundant because {{e}} is already passed to the new 
> exception. It will duplicate the message. Zero benefit. We shall remove them.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MSHARED-1142) Remove e.getMessage() duplication when e is passed as object

2022-09-19 Thread Slawomir Jaranowski (Jira)


 [ 
https://issues.apache.org/jira/browse/MSHARED-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Slawomir Jaranowski updated MSHARED-1142:
-
Fix Version/s: maven-verifier-2.0.0-M1

> Remove e.getMessage() duplication when e is passed as object
> 
>
> Key: MSHARED-1142
> URL: https://issues.apache.org/jira/browse/MSHARED-1142
> Project: Maven Shared Components
>  Issue Type: Task
>  Components: maven-verifier
>Reporter: Michael Osipov
>Priority: Major
>  Labels: up-for-grabs
> Fix For: maven-verifier-2.0.0, maven-verifier-2.0.0-M1
>
>
> In many spots this is code:
> {noformat}
> throw new Exception( "Failed to run Maven: " + e.getMessage(), e ); {noformat}
> {{e.getMessage()}} is redundant because {{e}} is already passed to the new 
> exception. It will duplicate the message. Zero benefit. We shall remove them.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MSHARED-1142) Remove e.getMessage() duplication when e is passed as object

2022-09-13 Thread Slawomir Jaranowski (Jira)


 [ 
https://issues.apache.org/jira/browse/MSHARED-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Slawomir Jaranowski updated MSHARED-1142:
-
Labels: up-for-grabs  (was: )

> Remove e.getMessage() duplication when e is passed as object
> 
>
> Key: MSHARED-1142
> URL: https://issues.apache.org/jira/browse/MSHARED-1142
> Project: Maven Shared Components
>  Issue Type: Task
>  Components: maven-verifier
>Reporter: Michael Osipov
>Priority: Major
>  Labels: up-for-grabs
> Fix For: maven-verifier-2.0.0
>
>
> In many spots this is code:
> {noformat}
> throw new Exception( "Failed to run Maven: " + e.getMessage(), e ); {noformat}
> {{e.getMessage()}} is redundant because {{e}} is already passed to the new 
> exception. It will duplicate the message. Zero benefit. We shall remove them.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)