Skip to content

Commit

Permalink
comment, clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
misfir3 committed May 23, 2017
1 parent a5b4aea commit a9e5dd6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ public class StoredXssComments extends AssignmentEndpoint {
@ResponseBody
public Collection<Comment> retrieveComments() {
Collection<Comment> allComments = Lists.newArrayList();
Collection<Comment> xmlComments = userComments.get(webSession.getUserName());
if (xmlComments != null) {
allComments.addAll(xmlComments);
}
// no filtering applied here at render
allComments.addAll(comments);
return allComments;
}
Expand Down

0 comments on commit a9e5dd6

Please sign in to comment.