Skip to content

Commit da3cbdb

Browse files
committed
Fix some issues
1 parent aba83a8 commit da3cbdb

5 files changed

Lines changed: 342 additions & 101 deletions

File tree

httpclient5-websocket/src/test/java/org/apache/hc/client5/http/websocket/H2WebSocketEchoIT.java renamed to httpclient5-testing/src/test/java/org/apache/hc/client5/testing/websocket/H2WebSocketEchoIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* <http://www.apache.org/>.
2525
*
2626
*/
27-
package org.apache.hc.client5.http.websocket;
27+
package org.apache.hc.client5.testing.websocket;
2828

2929
import static org.junit.jupiter.api.Assertions.assertEquals;
3030
import static org.junit.jupiter.api.Assertions.assertTrue;

httpclient5-testing/src/test/java/org/apache/hc/client5/testing/websocket/performance/WsPerfBatchRunner.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
package org.apache.hc.client5.testing.websocket.performance;
2828

2929
import java.util.ArrayList;
30-
import java.util.Arrays;
3130
import java.util.List;
3231

3332
/**
@@ -41,7 +40,7 @@ private WsPerfBatchRunner() {
4140
public static void main(final String[] args) throws Exception {
4241
final List<String[]> scenarios = new ArrayList<>();
4342

44-
scenarios.add(new String[] {
43+
scenarios.add(new String[]{
4544
"protocol=h1",
4645
"mode=THROUGHPUT",
4746
"clients=8",
@@ -51,7 +50,7 @@ public static void main(final String[] args) throws Exception {
5150
"pmce=false",
5251
"compressible=true"
5352
});
54-
scenarios.add(new String[] {
53+
scenarios.add(new String[]{
5554
"protocol=h1",
5655
"mode=THROUGHPUT",
5756
"clients=8",
@@ -61,7 +60,7 @@ public static void main(final String[] args) throws Exception {
6160
"pmce=false",
6261
"compressible=false"
6362
});
64-
scenarios.add(new String[] {
63+
scenarios.add(new String[]{
6564
"protocol=h2",
6665
"mode=THROUGHPUT",
6766
"clients=8",
@@ -71,7 +70,7 @@ public static void main(final String[] args) throws Exception {
7170
"pmce=false",
7271
"compressible=false"
7372
});
74-
scenarios.add(new String[] {
73+
scenarios.add(new String[]{
7574
"protocol=h2",
7675
"mode=THROUGHPUT",
7776
"clients=8",
@@ -81,7 +80,7 @@ public static void main(final String[] args) throws Exception {
8180
"pmce=true",
8281
"compressible=false"
8382
});
84-
scenarios.add(new String[] {
83+
scenarios.add(new String[]{
8584
"protocol=h2",
8685
"mode=LATENCY",
8786
"clients=4",

0 commit comments

Comments
 (0)