Use try-with-resource.
authorGary Gregory <garydgregory@gmail.com>
Sat, 21 Nov 2020 15:37:04 +0000 (10:37 -0500)
committerGary Gregory <garydgregory@gmail.com>
Sat, 21 Nov 2020 15:37:04 +0000 (10:37 -0500)
commitfa7b8118d9d910dceb8a070a39bd7fc2e5de861a
treea9d7973dd4a07862d4591e11efd4f46e9ba06365
parent045bcb56d00e8e5a6f305d2ccaa77801d2ad1b81
Use try-with-resource.
src/main/java/org/apache/commons/mail/ByteArrayDataSource.java
src/main/java/org/apache/commons/mail/util/MimeMessageUtils.java
src/test/java/org/apache/commons/mail/resolver/AbstractDataSourceResolverTest.java