Skip to content
Permalink
Browse files
BATCHEE-139 Fixed checkstyle and license issues
  • Loading branch information
chberger committed Apr 14, 2020
1 parent b7d0e76 commit 28b1f70268f8bbb07d94675980154f6944a8f6c2
Showing 2 changed files with 18 additions and 3 deletions.
@@ -172,7 +172,7 @@ public JobStatus getJobStatusFromExecution(final long executionId) {
setJobStatusData(status, entity);
return status;
} catch (NoResultException e) {
throw new NoSuchJobExecutionException("Execution #" + executionId, e);
throw new NoSuchJobExecutionException("Execution #" + executionId, e);
} finally {
emProvider.release(em);
}
@@ -422,7 +422,7 @@ public InternalJobExecution jobOperatorGetJobExecution(final long jobExecutionId
final JobExecutionEntity instance = em.find(JobExecutionEntity.class, jobExecutionId);

if(instance == null) {
throw new NoSuchJobExecutionException("Execution #" + jobExecutionId);
throw new NoSuchJobExecutionException("Execution #" + jobExecutionId);
}

final JobExecutionImpl jobEx = new JobExecutionImpl(jobExecutionId, instance.getInstance().getJobInstanceId(), this);
@@ -1,5 +1,20 @@
package org.apache.batchee.container.impl;

/*
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import static org.junit.Assert.assertEquals;

import java.util.Properties;

0 comments on commit 28b1f70

Please sign in to comment.