From f42f1ddd5ebed0eaf8f152b605c6fd827d5d8926 Mon Sep 17 00:00:00 2001
From: Stefano Cordio
Date: Sat, 20 May 2023 15:48:19 +0200
Subject: [PATCH] Fix typo in SimpleMailMessageItemWriter Javadoc
---
.../mail/SimpleMailMessageItemWriter.java | 22 +++++++++----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java
index 08130d752..5fe783458 100644
--- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java
+++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/mail/SimpleMailMessageItemWriter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2010 the original author or authors.
+ * Copyright 2006-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,24 +35,24 @@ import org.springframework.util.Assert;
* transactional, failures should be dealt with here if possible rather than
* allowing them to be rethrown (which is the default).
*
- *
+ *
*
* Delegates the actual sending of messages to a {@link MailSender}, using the
* batch method {@link MailSender#send(SimpleMailMessage[])}, which normally
* uses a single server connection for the whole batch (depending on the
- * implementation). The efficiency of for large volumes of messages (repeated
+ * implementation). The efficiency for large volumes of messages (repeated
* calls to the item writer) might be improved by the use of a special
* {@link MailSender} that caches connections to the server in between calls.
*
- *
+ *
*
* Stateless, so automatically restartable.
*
- *
+ *
* @author Dave Syer
- *
+ *
* @since 2.1
- *
+ *
*/
public class SimpleMailMessageItemWriter implements ItemWriter, InitializingBean {
@@ -62,7 +62,7 @@ public class SimpleMailMessageItemWriter implements ItemWriter