Skip to content

Commit

Permalink
#30367 Applying code review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgambarios committed Dec 4, 2024
1 parent 9258307 commit 432e64d
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public Job getJob(final String jobId) throws DotDataException {

@CloseDBIfOpened
@Override
public JobPaginatedResult getActiveJobs(String queueName, int page, int pageSize)
public JobPaginatedResult getActiveJobs(final String queueName, final int page, final int pageSize)
throws DotDataException {
try {
return jobQueue.getActiveJobs(queueName, page, pageSize);
Expand All @@ -341,7 +341,8 @@ public JobPaginatedResult getJobs(final int page, final int pageSize) throws Dot

@CloseDBIfOpened
@Override
public JobPaginatedResult getActiveJobs(int page, int pageSize) throws DotDataException {
public JobPaginatedResult getActiveJobs(final int page, final int pageSize)
throws DotDataException {
try {
return jobQueue.getActiveJobs(page, pageSize);
} catch (JobQueueDataException e) {
Expand All @@ -351,7 +352,8 @@ public JobPaginatedResult getActiveJobs(int page, int pageSize) throws DotDataEx

@CloseDBIfOpened
@Override
public JobPaginatedResult getCompletedJobs(int page, int pageSize) throws DotDataException {
public JobPaginatedResult getCompletedJobs(final int page, final int pageSize)
throws DotDataException {
try {
return jobQueue.getCompletedJobs(page, pageSize);
} catch (JobQueueDataException e) {
Expand All @@ -372,7 +374,8 @@ public JobPaginatedResult getSuccessfulJobs(final int page, final int pageSize)

@CloseDBIfOpened
@Override
public JobPaginatedResult getCanceledJobs(int page, int pageSize) throws DotDataException {
public JobPaginatedResult getCanceledJobs(final int page, final int pageSize)
throws DotDataException {
try {
return jobQueue.getCanceledJobs(page, pageSize);
} catch (JobQueueDataException e) {
Expand All @@ -382,7 +385,8 @@ public JobPaginatedResult getCanceledJobs(int page, int pageSize) throws DotData

@CloseDBIfOpened
@Override
public JobPaginatedResult getFailedJobs(int page, int pageSize) throws DotDataException {
public JobPaginatedResult getFailedJobs(final int page, final int pageSize)
throws DotDataException {
try {
return jobQueue.getFailedJobs(page, pageSize);
} catch (JobQueueDataException e) {
Expand All @@ -392,7 +396,7 @@ public JobPaginatedResult getFailedJobs(int page, int pageSize) throws DotDataEx

@CloseDBIfOpened
@Override
public JobPaginatedResult getAbandonedJobs(int page, int pageSize) throws DotDataException {
public JobPaginatedResult getAbandonedJobs(final int page, final int pageSize) throws DotDataException {
try {
return jobQueue.getAbandonedJobs(page, pageSize);
} catch (JobQueueDataException e) {
Expand Down

0 comments on commit 432e64d

Please sign in to comment.