Violation | Line |
Dm: Method org.apache.commons.mail.Email.setContent(Object,String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead |
283
|
EI2: org.apache.commons.mail.Email.setSentDate(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.commons.mail.Email.sentDate |
910
|
EI: org.apache.commons.mail.Email.getSentDate() may expose internal representation by returning org.apache.commons.mail.Email.sentDate |
925
|
REC: Method org.apache.commons.mail.Email.createInternetAddress(String,String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught |
427
|
UwF: Field not initialized in constructor: org.apache.commons.mail.Email.session |
0
|