Skip to content

Commit 22a09ef

Browse files
committed
Merge pull request #38 from Liuchy1/master
fix SMS methond bug
2 parents 187fdb0 + 093f6df commit 22a09ef

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/cn/jpush/api/push/model

1 file changed

+2
-2
lines changed

src/main/java/cn/jpush/api/push/model/SMS.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private SMS(String content, int delay_time) {
1515
this.delay_time = delay_time;
1616
}
1717

18-
public Builder newBuilder() {
18+
public static Builder newBuilder() {
1919
return new Builder();
2020
}
2121

@@ -29,7 +29,7 @@ public Builder newBuilder() {
2929
* @param delayTime The seconds you want to delay, should be greater than or equal to 0.
3030
* @return
3131
*/
32-
public SMS content(String content, int delayTime) {
32+
public static SMS content(String content, int delayTime) {
3333
return new Builder()
3434
.setContent(content)
3535
.setDelayTime(delayTime)

0 commit comments

Comments
 (0)