Skip to content

Commit

Permalink
Merge pull request #27 from beresfordt/master
Browse files Browse the repository at this point in the history
Made HtmlResultRenderer#withCustomRenderer(Predicate, Renderer) public
  • Loading branch information
danielbodart committed Dec 8, 2015
2 parents e485ed3 + c9a9742 commit 7cf4471
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public <T> HtmlResultRenderer withCustomRenderer(Class<T> klazz, Renderer<T> ren
return withCustomRenderer((Predicate) instanceOf(klazz), renderer);
}

private <T> HtmlResultRenderer withCustomRenderer(Predicate<T> predicate, Renderer<T> renderer) {
public <T> HtmlResultRenderer withCustomRenderer(Predicate<T> predicate, Renderer<T> renderer) {
customRenderers.add(Pair.<Predicate, Renderer>pair(predicate, renderer));
return this;
}
Expand Down

0 comments on commit 7cf4471

Please sign in to comment.