Skip to content

Commit

Permalink
(yegor256#950) Remove redundant casting
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoss committed Oct 22, 2020
1 parent f42c83a commit 90133b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/takes/rq/RequestOf.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public final class RequestOf implements Request {
* @param body InputStream body value
*/
public RequestOf(final Iterable<String> head, final InputStream body) {
this((Head) () -> head, (Body) () -> body);
this(() -> head, () -> body);
}

/**
Expand Down

0 comments on commit 90133b1

Please sign in to comment.