Compare commits
No commits in common. "master" and "capacity-fix" have entirely different histories.
master
...
capacity-f
@ -108,12 +108,8 @@ public class AssignmentResponse {
|
|||||||
this.id = course.getId();
|
this.id = course.getId();
|
||||||
this.name = course.getName();
|
this.name = course.getName();
|
||||||
this.symbol = course.getSymbol();
|
this.symbol = course.getSymbol();
|
||||||
this.classes = classes != null
|
this.classes = new GroupWithCapacityResponse(classes, ammounts.get(classes.getGroup().getId()));
|
||||||
? new GroupWithCapacityResponse(classes, ammounts.get(classes.getGroup().getId()))
|
this.lecture = new GroupWithCapacityResponse(lecture, ammounts.get(lecture.getGroup().getId()));
|
||||||
: null;
|
|
||||||
this.lecture = lecture != null
|
|
||||||
? new GroupWithCapacityResponse(lecture, ammounts.get(lecture.getGroup().getId()))
|
|
||||||
: null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -125,8 +121,8 @@ public class AssignmentResponse {
|
|||||||
this.id = course.getId();
|
this.id = course.getId();
|
||||||
this.name = course.getName();
|
this.name = course.getName();
|
||||||
this.symbol = course.getSymbol();
|
this.symbol = course.getSymbol();
|
||||||
this.classes = classes != null ? new GroupWithCapacityResponse(classes) : null;
|
this.classes = new GroupWithCapacityResponse(classes);
|
||||||
this.lecture = lecture != null ? new GroupWithCapacityResponse(lecture) : null;
|
this.lecture = new GroupWithCapacityResponse(lecture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user