Skip to content

Commit 58852d7

Browse files
committed
Merge pull request #44 from Liuchy1/master
fix readme
2 parents f153376 + b3fd5d3 commit 58852d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,14 @@
305305
### Custom Client 样例
306306

307307
> 一下片断来自项目代码里面的文件:example / cn.jpush.api.examples.DeviceExample
308+
308309
```Java
309310
public static void testCustomClient() {
310311
ClientConfig config = ClientConfig.getInstance();
311312
config.setMaxRetryTimes(5);
312313
config.setConnectionTimeout(10 * 1000);// 10 seconds
313314
config.setSSLVersion("TLSv1.1");
314-
315315
ClientConfig.setReadTimeout(ClientConfig.getInstance(), 30 * 1000);// 30 seconds
316-
317316
JPushClient jPushClient = new JPushClient(masterSecret, appKey, null, config);
318317
}
319318
```

0 commit comments

Comments
 (0)