We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0788aec commit 093f6dfCopy full SHA for 093f6df
src/main/java/cn/jpush/api/push/model/SMS.java
@@ -15,7 +15,7 @@ private SMS(String content, int delay_time) {
15
this.delay_time = delay_time;
16
}
17
18
- public Builder newBuilder() {
+ public static Builder newBuilder() {
19
return new Builder();
20
21
@@ -29,7 +29,7 @@ public Builder newBuilder() {
29
* @param delayTime The seconds you want to delay, should be greater than or equal to 0.
30
* @return
31
*/
32
- public SMS content(String content, int delayTime) {
+ public static SMS content(String content, int delayTime) {
33
return new Builder()
34
.setContent(content)
35
.setDelayTime(delayTime)
0 commit comments