Skip to content

Commit 2adac24

Browse files
author
caiyg
committed
不再使用弃用的构造函数
1 parent 47502d3 commit 2adac24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/main/java/cn/jpush/api/examples/PushExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public static void testSendPushWithCustomConfig() {
167167
// Setup the custom hostname
168168
config.setPushHostName("https://api.jpush.cn");
169169

170-
JPushClient jpushClient = new JPushClient(masterSecret, appKey, 3, null, config);
170+
JPushClient jpushClient = new JPushClient(masterSecret, appKey, null, config);
171171

172172
// For push, all you need do is to build PushPayload object.
173173
PushPayload payload = buildPushObject_all_all_alert();

0 commit comments

Comments
 (0)