Minor polish

This commit is contained in:
Michael Minella
2017-01-06 12:53:42 -06:00
parent 10bb457a5a
commit 3d1ee18db3
4 changed files with 10 additions and 6 deletions

View File

@@ -61,6 +61,7 @@ public class DefaultTaskConfigurer implements TaskConfigurer {
/**
* Initializes the DefaultTaskConfigurer and sets the default table prefix
* to {@link TaskProperties#DEFAULT_TABLE_PREFIX}.
*
* @param dataSource references the {@link DataSource} to be used as the Task
* repository. If none is provided, a Map will be used (not recommended for
* production use.
@@ -69,7 +70,9 @@ public class DefaultTaskConfigurer implements TaskConfigurer {
this(dataSource, TaskProperties.DEFAULT_TABLE_PREFIX);
}
/** Initializes the DefaultTaskConfigurer.
/**
* Initializes the DefaultTaskConfigurer.
*
* @param tablePrefix the prefix to apply to the task table names used by
* task infrastructure.
*/
@@ -77,7 +80,9 @@ public class DefaultTaskConfigurer implements TaskConfigurer {
this(null, tablePrefix);
}
/** Initializes the DefaultTaskConfigurer.
/**
* Initializes the DefaultTaskConfigurer.
*
* @param dataSource references the {@link DataSource} to be used as the Task
* repository. If none is provided, a Map will be used (not recommended for
* production use.

View File

@@ -20,7 +20,6 @@ import javax.sql.DataSource;
import org.springframework.batch.item.database.support.DataFieldMaxValueIncrementerFactory;
import org.springframework.batch.item.database.support.DefaultDataFieldMaxValueIncrementerFactory;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.cloud.task.configuration.TaskConfigurer;
import org.springframework.cloud.task.configuration.TaskProperties;
import org.springframework.cloud.task.repository.dao.JdbcTaskExecutionDao;
import org.springframework.cloud.task.repository.dao.MapTaskExecutionDao;
@@ -102,6 +101,7 @@ public class TaskExecutionDaoFactoryBean implements FactoryBean<TaskExecutionDao
* used.
*
* @param tablePrefix the string prefix for the task table names
* @deprecated Use the constructor to inject
*/
@Deprecated
public void setTablePrefix(String tablePrefix) {