Navigation Menu

Skip to content

Commit

Permalink
Added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Jan 31, 2013
1 parent ee42888 commit 3e7f536
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -25,11 +25,13 @@ public class DefaultFilter implements EventFilter {
@Inject
private Repository repository;

// it's safe to keep the session around, because this is a non-mutating actor
// it's safe to keep the session around, because this code does not mutate
// the state of the repository
private Session session;

@Override
public boolean apply(Event event) {

Predicate<NodeType> isFedoraNodeType = new Predicate<NodeType>() {
@Override
public boolean apply(NodeType type) {
Expand Down

0 comments on commit 3e7f536

Please sign in to comment.