Skip to content

Commit

Permalink
[513585] Fixed EDataType checking in local search
Browse files Browse the repository at this point in the history
Change-Id: I62d28510355ff57091959a8834002f40fd6a97de
Signed-off-by: Zoltan Ujhelyi <[email protected]>
  • Loading branch information
ujhelyiz committed Mar 13, 2017
1 parent 12bb524 commit fd68026
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public InstanceOfDataTypeCheck(int position, EDataType dataType) {
@Override
protected boolean check(MatchingFrame frame) {
Preconditions.checkNotNull(frame.getValue(position), "Invalid plan, variable %s unbound", position);
return dataType.getInstanceClassName().equals(frame.getValue(position).getClass().getName());
return dataType.isInstance(frame.getValue(position));
}

@Override
Expand Down

0 comments on commit fd68026

Please sign in to comment.