[ML] Fix line length

Original commit: elastic/x-pack-elasticsearch@2fba2434b8
This commit is contained in:
Martijn van Groningen 2017-02-22 21:37:25 +01:00
parent 4041545cfa
commit 124fe0ad04
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ public class PutJobAction extends Action<PutJobAction.Request, PutJobAction.Resp
job.setId(jobId); job.setId(jobId);
} else if (!Strings.isNullOrEmpty(jobId) && !jobId.equals(job.getId())) { } else if (!Strings.isNullOrEmpty(jobId) && !jobId.equals(job.getId())) {
// If we have both URI and body job ID, they must be identical // If we have both URI and body job ID, they must be identical
throw new IllegalArgumentException(Messages.getMessage(Messages.INCONSISTENT_ID, Job.ID.getPreferredName(), job.getId(), jobId)); throw new IllegalArgumentException(Messages.getMessage(Messages.INCONSISTENT_ID, Job.ID.getPreferredName(),
job.getId(), jobId));
} }
if (job.getCreateTime() == null) { if (job.getCreateTime() == null) {
job.setCreateTime(new Date()); job.setCreateTime(new Date());