This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git
The following commit(s) were added to refs/heads/master by this push:
new 6008dc9 Simplify
6008dc9 is described below
commit 6008dc9535c701dc470250dca33ca6a684d41bda
Author: Sebb <[email protected]>
AuthorDate: Mon Jun 22 23:50:20 2020 +0100
Simplify
---
src/main/java/org/apache/commons/net/examples/mail/IMAPImportMbox.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/net/examples/mail/IMAPImportMbox.java
b/src/main/java/org/apache/commons/net/examples/mail/IMAPImportMbox.java
index c5a3e2c..d075cdb 100644
--- a/src/main/java/org/apache/commons/net/examples/mail/IMAPImportMbox.java
+++ b/src/main/java/org/apache/commons/net/examples/mail/IMAPImportMbox.java
@@ -75,7 +75,7 @@ public final class IMAPImportMbox
}
String folder = path.substring(1); // skip the leading /
- List<String> contains = new ArrayList<String>(); // list of strings to
find
+ List<String> contains = new ArrayList<>(); // list of strings to find
BitSet msgNums = new BitSet(); // list of message numbers
for(int i = 2; i < args.length; i++) {