Skip to content

Commit a574813

Browse files
committed
Fix typos
1 parent fa62861 commit a574813

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JdbcJobExecutionDao.java

Lines changed: 3 additions & 3 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-2019 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.
@@ -264,7 +264,7 @@ public JobExecution getLastJobExecution(JobInstance jobInstance) {
264264
/*
265265
* (non-Javadoc)
266266
*
267-
* @seeorg.springframework.batch.core.repository.dao.JobExecutionDao#
267+
* @see org.springframework.batch.core.repository.dao.JobExecutionDao#
268268
* getLastJobExecution(java.lang.String)
269269
*/
270270
@Override
@@ -283,7 +283,7 @@ public JobExecution getJobExecution(Long executionId) {
283283
/*
284284
* (non-Javadoc)
285285
*
286-
* @seeorg.springframework.batch.core.repository.dao.JobExecutionDao#
286+
* @see org.springframework.batch.core.repository.dao.JobExecutionDao#
287287
* findRunningJobExecutions(java.lang.String)
288288
*/
289289
@Override

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JdbcJobInstanceDao.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-2019 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.
@@ -203,7 +203,7 @@ public String mapRow(ResultSet rs, int rowNum)
203203
/*
204204
* (non-Javadoc)
205205
*
206-
* @seeorg.springframework.batch.core.repository.dao.JobInstanceDao#
206+
* @see org.springframework.batch.core.repository.dao.JobInstanceDao#
207207
* getLastJobInstances(java.lang.String, int)
208208
*/
209209
@Override

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JdbcStepExecutionDao.java

Lines changed: 3 additions & 3 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-2019 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.
@@ -253,11 +253,11 @@ public void updateStepExecution(StepExecution stepExecution) {
253253

254254
// Avoid concurrent modifications...
255255
if (count == 0) {
256-
int curentVersion = getJdbcTemplate().queryForObject(getQuery(CURRENT_VERSION_STEP_EXECUTION),
256+
int currentVersion = getJdbcTemplate().queryForObject(getQuery(CURRENT_VERSION_STEP_EXECUTION),
257257
new Object[] { stepExecution.getId() }, Integer.class);
258258
throw new OptimisticLockingFailureException("Attempt to update step execution id="
259259
+ stepExecution.getId() + " with wrong version (" + stepExecution.getVersion()
260-
+ "), where current version is " + curentVersion);
260+
+ "), where current version is " + currentVersion);
261261
}
262262

263263
stepExecution.incrementVersion();

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/MapJobExecutionDao.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-2019 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.
@@ -126,7 +126,7 @@ public JobExecution getLastJobExecution(@Nullable JobInstance jobInstance) {
126126
/*
127127
* (non-Javadoc)
128128
*
129-
* @seeorg.springframework.batch.core.repository.dao.JobExecutionDao#
129+
* @see org.springframework.batch.core.repository.dao.JobExecutionDao#
130130
* findRunningJobExecutions(java.lang.String)
131131
*/
132132
@Override

spring-batch-core/src/test/java/org/springframework/batch/core/job/SimpleJobTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2013 the original author or authors.
2+
* Copyright 2006-2019 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.
@@ -65,6 +65,7 @@
6565
*
6666
* @author Lucas Ward
6767
* @author Will Schipp
68+
* @author Mahmoud Ben Hassine
6869
*/
6970
public class SimpleJobTests {
7071

@@ -578,7 +579,7 @@ public void setCallback(Runnable runnable) {
578579
/*
579580
* (non-Javadoc)
580581
*
581-
* @seeorg.springframework.batch.core.step.StepSupport#execute(org.
582+
* @see org.springframework.batch.core.step.StepSupport#execute(org.
582583
* springframework.batch.core.StepExecution)
583584
*/
584585
@Override
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-2019 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.
@@ -27,7 +27,7 @@
2727
import org.springframework.beans.propertyeditors.CustomNumberEditor;
2828
import org.springframework.beans.propertyeditors.PropertiesEditor;
2929

30-
public class DefaultPropertEditorRegistrarTests {
30+
public class DefaultPropertyEditorRegistrarTests {
3131

3232
@Test
3333
public void testIntArray() throws Exception {

0 commit comments

Comments
 (0)