[Building Sakai] problem with gradebook
Charles Hedrick
hedrick at rutgers.edu
Wed Jun 19 13:14:43 PDT 2013
On Jun 19, 2013, at 3:04 PM, Matthew Jones <matthew at longsight.com> wrote:
> What do you think the one line fix to gradebook is?
The code is in ViewByStudentBean.java
if (isInstructorView) {
} else {
externalAssignments = gext.getExternalAssignmentsForCurrentUser(gradebook.getUid());
}
while (i.hasNext()) {
Assignment assignment = ((AssignmentGradeRow)i.next()).getAssociatedAssignment();
if (assignment.isExternallyMaintained() && !externalAssignments.containsKey(assignment.getExternalId())) {
i.remove();
}
}
The one-line version would be to remove the i.remove(). But it would make sense to remove all of that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130619/eb0cd7c4/attachment.html
More information about the sakai-dev
mailing list