blob: 2604f49a1c3ca66f3db05b916521987d50f3fe6d [file] [log] [blame]
if (job.equals(newJob))
return;
if (job.getDeployment() != null) {
if (newJob.getDeployment() != null)
throw new IllegalStateException("Cannot merge several deployments into one.");
newJob.setDeployment(job.getDeployment());
}