make this public to avoid jpms issue...

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
olivier lamy 2020-08-12 14:45:55 +08:00
parent 495a1cb109
commit 2522857a5a
1 changed files with 4 additions and 1 deletions

View File

@ -89,7 +89,10 @@ public class InputStreamContentTest
server.stop();
}
private static List<BiConsumer<Request, InputStream>> content()
/**
* need public access to avoid jpms issue
*/
public static List<BiConsumer<Request, InputStream>> content()
{
return List.of(
(request, stream) -> request.body(new InputStreamRequestContent(stream)),