comment, clean up
This commit is contained in:
parent
a5b4aeaa76
commit
a9e5dd645d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user