diff --git a/src/main/java/cn/jpush/api/push/PushClient.java b/src/main/java/cn/jpush/api/push/PushClient.java
index 835aea67..54ed8b65 100644
--- a/src/main/java/cn/jpush/api/push/PushClient.java
+++ b/src/main/java/cn/jpush/api/push/PushClient.java
@@ -51,6 +51,9 @@ public PushClient(String masterSecret, String appKey) {
/**
* This will be removed in the future. Please use ClientConfig{@link cn.jpush.api.common.ClientConfig} instead of this constructor.
+ * @param masterSecret API access secret of the appKey.
+ * @param appKey The KEY of one application on JPush.
+ * @param maxRetryTimes The max retry times.
*/
@Deprecated
public PushClient(String masterSecret, String appKey, int maxRetryTimes) {
@@ -64,6 +67,7 @@ public PushClient(String masterSecret, String appKey, int maxRetryTimes) {
* @param masterSecret API access secret of the appKey.
* @param appKey The KEY of one application on JPush.
* @param maxRetryTimes max retry times
+ * @param proxy The max retry times.
*/
@Deprecated
public PushClient(String masterSecret, String appKey, int maxRetryTimes, HttpProxy proxy) {
diff --git a/src/main/java/cn/jpush/api/push/model/notification/IosNotification.java b/src/main/java/cn/jpush/api/push/model/notification/IosNotification.java
index 3d2f5302..9c0aaf52 100644
--- a/src/main/java/cn/jpush/api/push/model/notification/IosNotification.java
+++ b/src/main/java/cn/jpush/api/push/model/notification/IosNotification.java
@@ -8,8 +8,8 @@
import java.util.Map;
/**
- * APNs 通知类
- *
+ *
APNs 通知类
+ *
* 支持 APNs 默认的几个参数:
*
* - alert: 继承自父类 PlatformNotification 的 alert 属性;本类设置则覆盖。
@@ -18,14 +18,12 @@
* - content-available: 用来支持后台推送。如果该值赋值为 1,表示开启后台推送。
* - extras: JSON object. 支持更多的自定义字段信息。
*
- *
- *
+ *
* 需要特别留意的是,JPush SDK 会对以下几个值有特别的默认设置考虑:
*
- * - badge: 默认为 "+1"。如果需要取消 badge 值,需要显式地调用 disableBadge().
- * - sound: 默认为 "",即默认的声音提示。如果需要取消 sound 值,即不要声音,需要显式地调用 disableSound().
+ * - badge: 默认为 "+1"。如果需要取消 badge 值,需要显式地调用 disableBadge()。
+ * - sound: 默认为 "",即默认的声音提示。如果需要取消 sound 值,即不要声音,需要显式地调用 disableSound()。
*
- *
*/
public class IosNotification extends PlatformNotification {
public static final String NOTIFICATION_IOS = "ios";
diff --git a/src/main/java/cn/jpush/api/report/ReportClient.java b/src/main/java/cn/jpush/api/report/ReportClient.java
index 1ac997c3..674cf5b1 100644
--- a/src/main/java/cn/jpush/api/report/ReportClient.java
+++ b/src/main/java/cn/jpush/api/report/ReportClient.java
@@ -28,6 +28,9 @@ public ReportClient(String masterSecret, String appKey) {
/**
* This will be removed in the future. Please use ClientConfig{@link cn.jpush.api.common.ClientConfig#setMaxRetryTimes} instead of this constructor.
+ * @param masterSecret API access secret of the appKey.
+ * @param appKey The KEY of one application on JPush.
+ * @param maxRetryTimes max retry times.
*
*/
@Deprecated
@@ -37,6 +40,10 @@ public ReportClient(String masterSecret, String appKey, int maxRetryTimes) {
/**
* This will be removed in the future. Please use ClientConfig{@link cn.jpush.api.common.ClientConfig#setMaxRetryTimes} instead of this constructor.
+ * @param masterSecret API access secret of the appKey.
+ * @param appKey The KEY of one application on JPush.
+ * @param maxRetryTimes max retry times
+ * @param proxy The max retry times.
*
*/
@Deprecated
diff --git a/src/main/java/cn/jpush/api/schedule/ScheduleClient.java b/src/main/java/cn/jpush/api/schedule/ScheduleClient.java
index 5f2d8a32..f0a09dce 100644
--- a/src/main/java/cn/jpush/api/schedule/ScheduleClient.java
+++ b/src/main/java/cn/jpush/api/schedule/ScheduleClient.java
@@ -33,6 +33,9 @@ public ScheduleClient(String masterSecret, String appkey) {
/**
* This will be removed in the future. Please use ClientConfig{@link cn.jpush.api.common.ClientConfig#setMaxRetryTimes} instead of this constructor.
+ * @param masterSecret API access secret of the appKey.
+ * @param appKey The KEY of one application on JPush.
+ * @param maxRetryTimes The mas retry times.
*
*/
@Deprecated
@@ -42,7 +45,10 @@ public ScheduleClient(String masterSecret, String appKey, int maxRetryTimes) {
/**
* This will be removed in the future. Please use ClientConfig{@link cn.jpush.api.common.ClientConfig#setMaxRetryTimes} instead of this constructor.
- *
+ * @param masterSecret API access secret of the appKey.
+ * @param appKey The KEY of one application on JPush.
+ * @param maxRetryTimes The mas retry times.
+ * @param proxy The proxy, if there is no proxy, should be null.
*/
@Deprecated
public ScheduleClient(String masterSecret, String appKey, int maxRetryTimes, HttpProxy proxy) {
diff --git a/src/main/java/cn/jpush/api/utils/Preconditions.java b/src/main/java/cn/jpush/api/utils/Preconditions.java
index e32e8292..762c4386 100644
--- a/src/main/java/cn/jpush/api/utils/Preconditions.java
+++ b/src/main/java/cn/jpush/api/utils/Preconditions.java
@@ -73,7 +73,7 @@
*
* Projects which use {@code com.google.common} should generally avoid the use of {@link
* java.util.Objects#requireNonNull(Object)}. Instead, use whichever of {@link
- * #checkNotNull(Object)} or {@link Verify#verifyNotNull(Object)} is appropriate to the situation.
+ * #checkNotNull(Object)} is appropriate to the situation.
* (The same goes for the message-accepting overloads.)
*
*
Only {@code %s} is supported