Skip to content

Commit

Permalink
(#918) Small refactoring of RqSimple constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
fanifieiev committed Nov 20, 2019
1 parent 0731751 commit b235b60
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/java/org/takes/rq/RqSimple.java
Expand Up @@ -42,12 +42,7 @@ public final class RqSimple extends RqWrap {
* @param body Body
*/
public RqSimple(final Iterable<String> head, final InputStream body) {
super(
new RequestOf(
() -> head,
() -> body
)
);
super(new RequestOf(head, body));
}

}

0 comments on commit b235b60

Please sign in to comment.