Skip to content

Commit 56dc8d9

Browse files
committed
No need to end exception messages with an exclamation!
1 parent 3095c7a commit 56dc8d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/net/examples/mail/IMAPExportMbox.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public static void main(final String[] args) throws IOException, URISyntaxExcept
332332
} else {
333333
final Path mboxPath = Paths.get(file);
334334
if (Files.exists(mboxPath) && Files.size(mboxPath) > 0) {
335-
throw new IOException("mailbox file: " + mboxPath + " already exists and is non-empty!");
335+
throw new IOException("mailbox file: " + mboxPath + " already exists and is non-empty.");
336336
}
337337
System.out.println("Creating file " + mboxPath);
338338
mboxListener = new MboxListener(Files.newBufferedWriter(mboxPath, Charset.defaultCharset(), StandardOpenOption.CREATE), eol, printHash, printMarker,

0 commit comments

Comments
 (0)