File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
httprpc-test/src/test/java/org/httprpc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ public void testCustomPost() throws IOException {
237237
238238 URL imageTestURL = WebServiceProxyTest .class .getResource ("test.jpg" );
239239
240- webServiceProxy .setRequestHandler (( outputStream ) -> {
240+ webServiceProxy .setRequestHandler (outputStream -> {
241241 try (InputStream inputStream = imageTestURL .openStream ()) {
242242 int b ;
243243 while ((b = inputStream .read ()) != EOF ) {
@@ -261,7 +261,7 @@ public void testPut() throws IOException {
261261
262262 URL textTestURL = WebServiceProxyTest .class .getResource ("test.txt" );
263263
264- webServiceProxy .setRequestHandler (( outputStream ) -> {
264+ webServiceProxy .setRequestHandler (outputStream -> {
265265 try (InputStream inputStream = textTestURL .openStream ()) {
266266 int b ;
267267 while ((b = inputStream .read ()) != EOF ) {
You can’t perform that action at this time.
0 commit comments