File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/cn/jpush/api/push/model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ public class Options implements PushModel {
1414 private static final String APNS_PRODUCTION = "apns_production" ;
1515
1616 private final int sendno ;
17- private final int overrideMsgId ;
17+ private final long overrideMsgId ;
1818 private long timeToLive ;
1919 private boolean apnsProduction ;
2020
21- private Options (int sendno , int overrideMsgId , long timeToLive , boolean apnsProduction ) {
21+ private Options (int sendno , long overrideMsgId , long timeToLive , boolean apnsProduction ) {
2222 this .sendno = sendno ;
2323 this .overrideMsgId = overrideMsgId ;
2424 this .timeToLive = timeToLive ;
@@ -69,7 +69,7 @@ public JsonElement toJSON() {
6969
7070 public static class Builder {
7171 private int sendno = 0 ;
72- private int overrideMsgId = 0 ;
72+ private long overrideMsgId = 0 ;
7373 private long timeToLive = 0 ;
7474 private boolean apnsProduction = true ;
7575
@@ -78,7 +78,7 @@ public Builder setSendno(int sendno) {
7878 return this ;
7979 }
8080
81- public Builder setOverrideMsgId (int overrideMsgId ) {
81+ public Builder setOverrideMsgId (long overrideMsgId ) {
8282 this .overrideMsgId = overrideMsgId ;
8383 return this ;
8484 }
You can’t perform that action at this time.
0 commit comments