mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
fixed an assertion error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35390 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
c8e932f2d8
commit
2cdb714eb0
1 file changed
+2
-2
@@ -109,7 +109,7 @@ public class MappingWorksheet {
|
||||
private ExecutorChunk(List<JobOffer> base, int index) {
|
||||
super(base);
|
||||
this.index = index;
|
||||
assert base.size()>1;
|
||||
assert !base.isEmpty();
|
||||
computer = base.get(0).executor.getOwner();
|
||||
node = computer.getNode();
|
||||
}
|
||||
@@ -174,7 +174,7 @@ public class MappingWorksheet {
|
||||
|
||||
private WorkChunk(List<SubTask> base, int index) {
|
||||
super(base);
|
||||
assert base.size()>1;
|
||||
assert !base.isEmpty();
|
||||
this.index = index;
|
||||
this.assignedLabel = base.get(0).getAssignedLabel();
|
||||
|
||||
|
||||
Reference in new issue
Block a user