Fix double "the" typo everywhere in source code

This commit is contained in:
Rémi Kaeffer
2021-08-21 12:43:29 +02:00
committed by Mahmoud Ben Hassine
parent 637226064c
commit a6d68138ff
8 changed files with 18 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2018 the original author or authors.
* Copyright 2006-2021 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.
@@ -59,6 +59,7 @@ import org.springframework.util.Assert;
* @author Dave Syer
* @author Michael Minella
* @author Mahmoud Ben Hassine
* @author Remi Kaeffer
*
* @since 4.1
*/
@@ -489,7 +490,7 @@ public abstract class AbstractFileItemWriter<T> extends AbstractItemStreamItemWr
}
}
catch (IOException ioe) {
throw new ItemStreamException("Unable to close the the ItemWriter", ioe);
throw new ItemStreamException("Unable to close the ItemWriter", ioe);
}
finally {
if (!transactional) {
@@ -505,7 +506,7 @@ public abstract class AbstractFileItemWriter<T> extends AbstractItemStreamItemWr
}
}
catch (IOException ioe) {
throw new ItemStreamException("Unable to close the the ItemWriter", ioe);
throw new ItemStreamException("Unable to close the ItemWriter", ioe);
}
finally {
try {
@@ -514,7 +515,7 @@ public abstract class AbstractFileItemWriter<T> extends AbstractItemStreamItemWr
}
}
catch (IOException ioe) {
throw new ItemStreamException("Unable to close the the ItemWriter", ioe);
throw new ItemStreamException("Unable to close the ItemWriter", ioe);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2007 the original author or authors.
* Copyright 2006-2021 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.
@@ -48,7 +48,7 @@ public class RethrowOnThresholdExceptionHandler implements ExceptionHandler {
private boolean useParent = false;
/**
* Flag to indicate the the exception counters should be shared between
* Flag to indicate the exception counters should be shared between
* sibling contexts in a nested batch. Default is false.
*
* @param useParent true if the parent context should be used to store the

View File

@@ -69,7 +69,7 @@ public class SimpleLimitExceptionHandler implements ExceptionHandler, Initializi
}
/**
* Flag to indicate the the exception counters should be shared between
* Flag to indicate the exception counters should be shared between
* sibling contexts in a nested batch (i.e. inner loop). Default is false.
* Set this flag to true if you want to count exceptions for the whole
* (outer) loop in a typical container.