Skip to content

Commit a6d6813

Browse files
rkaefferfmbenhassine
authored andcommitted
Fix double "the" typo everywhere in source code
1 parent 6372260 commit a6d6813

File tree

8 files changed

+18
-17
lines changed

8 files changed

+18
-17
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/JobInterruptedException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818

1919

2020
/**
21-
* Exception to indicate the the job has been interrupted. The exception state
21+
* Exception to indicate the job has been interrupted. The exception state
2222
* indicated is not normally recoverable by batch application clients, but
2323
* internally it is useful to force a check. The exception will often be wrapped
2424
* in a runtime exception (usually {@link UnexpectedJobExecutionException} before

spring-batch-core/src/main/java/org/springframework/batch/core/listener/JobParameterExecutionContextCopyListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -46,7 +46,7 @@ public void setKeys(String[] keys) {
4646

4747
/**
4848
* Copy attributes from the {@link JobParameters} to the {@link Step}
49-
* {@link ExecutionContext}, if not already present. The the key is already
49+
* {@link ExecutionContext}, if not already present. The key is already
5050
* present we assume that a restart is in operation and the previous value
5151
* is needed. If the provided keys are empty defaults to copy all keys in
5252
* the {@link JobParameters}.

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/AbstractFileItemWriter.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -59,6 +59,7 @@
5959
* @author Dave Syer
6060
* @author Michael Minella
6161
* @author Mahmoud Ben Hassine
62+
* @author Remi Kaeffer
6263
*
6364
* @since 4.1
6465
*/
@@ -489,7 +490,7 @@ public void close() {
489490
}
490491
}
491492
catch (IOException ioe) {
492-
throw new ItemStreamException("Unable to close the the ItemWriter", ioe);
493+
throw new ItemStreamException("Unable to close the ItemWriter", ioe);
493494
}
494495
finally {
495496
if (!transactional) {
@@ -505,7 +506,7 @@ private void closeStream() {
505506
}
506507
}
507508
catch (IOException ioe) {
508-
throw new ItemStreamException("Unable to close the the ItemWriter", ioe);
509+
throw new ItemStreamException("Unable to close the ItemWriter", ioe);
509510
}
510511
finally {
511512
try {
@@ -514,7 +515,7 @@ private void closeStream() {
514515
}
515516
}
516517
catch (IOException ioe) {
517-
throw new ItemStreamException("Unable to close the the ItemWriter", ioe);
518+
throw new ItemStreamException("Unable to close the ItemWriter", ioe);
518519
}
519520
}
520521
}

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/exception/RethrowOnThresholdExceptionHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ public class RethrowOnThresholdExceptionHandler implements ExceptionHandler {
4848
private boolean useParent = false;
4949

5050
/**
51-
* Flag to indicate the the exception counters should be shared between
51+
* Flag to indicate the exception counters should be shared between
5252
* sibling contexts in a nested batch. Default is false.
5353
*
5454
* @param useParent true if the parent context should be used to store the

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/exception/SimpleLimitExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public void afterPropertiesSet() throws Exception {
6969
}
7070

7171
/**
72-
* Flag to indicate the the exception counters should be shared between
72+
* Flag to indicate the exception counters should be shared between
7373
* sibling contexts in a nested batch (i.e. inner loop). Default is false.
7474
* Set this flag to true if you want to count exceptions for the whole
7575
* (outer) loop in a typical container.

spring-batch-integration/src/test/java/org/springframework/batch/integration/item/MessagingGatewayIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -123,7 +123,7 @@ public List<String> split(List<String> input) {
123123

124124
/**
125125
* This is just used to trap the messages sent by the ItemWriter and make an
126-
* assertion about them in the the test case. In a real application this
126+
* assertion about them in the test case. In a real application this
127127
* would be the output stage and/or business processing.
128128
*
129129
* @author Dave Syer

spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/TradeProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2019 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ public class TradeProcessor implements ItemProcessor<Trade, Trade> {
3333
private Trade failedItem = null;
3434

3535
/**
36-
* Public setter for the the index on which failure should occur.
36+
* Public setter for the index on which failure should occur.
3737
*
3838
* @param failure the failure to set
3939
*/

spring-batch-samples/src/main/java/org/springframework/batch/sample/domain/trade/internal/TradeWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2014 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -99,7 +99,7 @@ public void setDao(TradeDao dao) {
9999
}
100100

101101
/**
102-
* Public setter for the the customers on which failure should occur.
102+
* Public setter for the customers on which failure should occur.
103103
*
104104
* @param failingCustomers The customers to fail on
105105
*/

0 commit comments

Comments
 (0)