Skip to content

Commit

Permalink
HSEARCH-2406 Fixed an infinite recursion in FreshReadersProvidedTest.…
Browse files Browse the repository at this point in the history
…RecordingFilter#toString(String)
  • Loading branch information
yrodiere authored and Sanne committed Nov 28, 2016
1 parent 92c48fd commit 097f374
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -203,7 +203,10 @@ public DocIdSet getDocIdSet(LeafReaderContext context, Bits acceptDocs) throws I

@Override
public String toString(String fieldName) {
return toString();
return new StringBuilder( "RecordingFilter(" )
.append( this.fieldName )
.append( ")" )
.toString();
}
}

Expand Down

0 comments on commit 097f374

Please sign in to comment.