Re: [email] Suggestion to avoid NullPointerException

2014-07-20 Thread Benedikt Ritter
Hello Fuxiang, thanks for your interest in Apache Commons Email. I don't see a reason to add the add a null check here. We're talking about a test class and we know that the VALID_EMAILS array will never be null. Adding a null check just clutters the test code and makes it harder to understand.

[email] Suggestion to avoid NullPointerException

2014-07-20 Thread Fuxiang Chen
Dear Developers, We are a team of researchers from the Hong Kong University of Science and Technology (HKUST). Currently, we are studying how crowdsourcing can help developers to build a higher quality software. One of the subjects that we used is Apache Commons Email. From our experiment, we ide