Skip to content

Commit

Permalink
another NPE (missing ObjectProvider.empty())
Browse files Browse the repository at this point in the history
  • Loading branch information
miho committed Aug 19, 2015
1 parent 3159c1a commit c407c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class NotInvocationImpl extends InvocationImpl implements NotInvocation {

public NotInvocationImpl(String id, Scope parent, Argument arg) {

super(parent, id, null, "not", Type.BOOLEAN, false, true, arg);
super(parent, id, ObjectProvider.empty(), "not", Type.BOOLEAN, false, true, arg);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ScopeInvocationImpl extends InvocationImpl implements ScopeInvocation {
public ScopeInvocationImpl(Scope s) {
// TODO 07.08.2015 investigate whether scope and the corresponding
// invocation can have the same id
super(s, s.getId(), null, "scope", Type.VOID, false, true);
super(s, s.getId(), ObjectProvider.empty(), "scope", Type.VOID, false, true);
this.scope = s;

VNode node = scope.getNode();
Expand Down

0 comments on commit c407c52

Please sign in to comment.