You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/09/14 13:36:09 UTC

[GitHub] [maven-resolver] turbanoff opened a new pull request #126: Check if value is really non-null String before attempt to parse it.

turbanoff opened a new pull request #126:
URL: https://github.com/apache/maven-resolver/pull/126


   Checking type and nullness beforehand can help avoid exceptions (like NullPointerException and ClassCastException) in almost all cases.
   Usage of exceptional flow affects performance.
   Also catching general Exception is usually considered as bad smell.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-resolver] michael-o merged pull request #126: Check if value is really non-null String before attempt to parse it.

Posted by GitBox <gi...@apache.org>.
michael-o merged pull request #126:
URL: https://github.com/apache/maven-resolver/pull/126


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org