Skip to content

Commit 4edfbab

Browse files
committed
升级版本
1 parent dcb5258 commit 4edfbab

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

joyrpc-test/joyrpc-test-transport/src/test/java/io/joyrpc/transport/netty4/test/heartbeat/TimingHeartbeatClientMain.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* Licensed under the Apache License, Version 2.0 (the "License");
1010
* you may not use this file except in compliance with the License.
1111
* You may obtain a copy of the License at
12-
*
12+
*
1313
* http://www.apache.org/licenses/LICENSE-2.0
14-
*
14+
*
1515
* Unless required by applicable law or agreed to in writing, software
1616
* distributed under the License is distributed on an "AS IS" BASIS,
1717
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -62,11 +62,7 @@ public HeartbeatMode getHeartbeatMode() {
6262
return HeartbeatMode.TIMING;
6363
}
6464
});
65-
try {
66-
client.open();
67-
} catch (InterruptedException e) {
68-
e.printStackTrace();
69-
}
65+
client.open();
7066
}).start();
7167
}
7268

0 commit comments

Comments
 (0)