Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non-null validations and tests #12

Open
valb3r opened this issue Feb 22, 2020 · 0 comments
Open

Add non-null validations and tests #12

valb3r opened this issue Feb 22, 2020 · 0 comments

Comments

@valb3r
Copy link
Owner

valb3r commented Feb 22, 2020

Many spring-batch dao methods implementations have following validations:

Assert.notNull(jobExecution, "jobExecution cannot be null");
Assert.notNull(jobExecution.getJobId(), "JobExecution Job-Id cannot be null.");
Assert.notNull(jobExecution.getStatus(), "JobExecution status cannot be null.");
Assert.notNull(jobExecution.getCreateTime(), "JobExecution create time cannot be null");

Needs, to re-implement these in current project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant