Skip to content

Commit

Permalink
substring clone method fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed May 30, 2014
1 parent 9e03259 commit 3158d80
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -194,7 +194,11 @@ public void setAnchorEnd(boolean anchorEnd) {

@Override
public SubstringFilter clone() {
return new SubstringFilter(getFullPath(),getDefinition(), getMatchingRule(), getValues());
SubstringFilter filter = new SubstringFilter(getFullPath(), getDefinition(), getMatchingRule(), getValues());
filter.anchorStart = anchorStart;
filter.anchorEnd = anchorEnd;

return filter;
}

@Override
Expand Down

0 comments on commit 3158d80

Please sign in to comment.