mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
修复一些warning,尤其是导致打包warning的不规范或不必要的javadoc
This commit is contained in:
@@ -140,7 +140,6 @@ public class WxMpCustomMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得文本消息builder
|
||||
* @return
|
||||
*/
|
||||
public static TextBuilder TEXT() {
|
||||
return new TextBuilder();
|
||||
@@ -148,7 +147,6 @@ public class WxMpCustomMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得图片消息builder
|
||||
* @return
|
||||
*/
|
||||
public static ImageBuilder IMAGE() {
|
||||
return new ImageBuilder();
|
||||
@@ -164,7 +162,6 @@ public class WxMpCustomMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得视频消息builder
|
||||
* @return
|
||||
*/
|
||||
public static VideoBuilder VIDEO() {
|
||||
return new VideoBuilder();
|
||||
@@ -172,7 +169,6 @@ public class WxMpCustomMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得音乐消息builder
|
||||
* @return
|
||||
*/
|
||||
public static MusicBuilder MUSIC() {
|
||||
return new MusicBuilder();
|
||||
@@ -180,7 +176,6 @@ public class WxMpCustomMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得图文消息builder
|
||||
* @return
|
||||
*/
|
||||
public static NewsBuilder NEWS() {
|
||||
return new NewsBuilder();
|
||||
|
||||
@@ -12,8 +12,9 @@ import java.util.List;
|
||||
* @author chanjarster
|
||||
*/
|
||||
public class WxMpMassOpenIdsMessage implements Serializable {
|
||||
private static final long serialVersionUID = -8022910911104788999L;
|
||||
|
||||
private List<String> toUsers = new ArrayList<String>();
|
||||
private List<String> toUsers = new ArrayList<>();
|
||||
private String msgType;
|
||||
private String content;
|
||||
private String mediaId;
|
||||
@@ -23,7 +24,7 @@ public class WxMpMassOpenIdsMessage implements Serializable {
|
||||
}
|
||||
|
||||
public String getMsgType() {
|
||||
return msgType;
|
||||
return this.msgType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +44,7 @@ public class WxMpMassOpenIdsMessage implements Serializable {
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
return this.content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
@@ -51,7 +52,7 @@ public class WxMpMassOpenIdsMessage implements Serializable {
|
||||
}
|
||||
|
||||
public String getMediaId() {
|
||||
return mediaId;
|
||||
return this.mediaId;
|
||||
}
|
||||
|
||||
public void setMediaId(String mediaId) {
|
||||
@@ -64,10 +65,9 @@ public class WxMpMassOpenIdsMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* OpenId列表,最多支持10,000个
|
||||
* @return
|
||||
*/
|
||||
public List<String> getToUsers() {
|
||||
return toUsers;
|
||||
return this.toUsers;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -237,7 +237,6 @@ public class WxMpXmlMessage implements Serializable {
|
||||
* {@link me.chanjar.weixin.common.api.WxConsts#XML_MSG_EVENT}
|
||||
* </pre>
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getMsgType() {
|
||||
return this.msgType;
|
||||
@@ -444,7 +443,6 @@ public class WxMpXmlMessage implements Serializable {
|
||||
* @param timestamp
|
||||
* @param nonce
|
||||
* @param msgSignature
|
||||
* @return
|
||||
*/
|
||||
public static WxMpXmlMessage fromEncryptedXml(String encryptedXml,
|
||||
WxMpConfigStorage wxMpConfigStorage, String timestamp, String nonce,
|
||||
@@ -620,7 +618,6 @@ public class WxMpXmlMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 扫描类型,一般是qrcode
|
||||
* @return
|
||||
*/
|
||||
public String getScanType() {
|
||||
|
||||
@@ -633,7 +630,6 @@ public class WxMpXmlMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 扫描结果,即二维码对应的字符串信息
|
||||
* @return
|
||||
*/
|
||||
public String getScanResult() {
|
||||
return this.scanResult;
|
||||
|
||||
@@ -68,7 +68,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 转换成加密的xml格式
|
||||
* @return
|
||||
*/
|
||||
public String toEncryptedXml(WxMpConfigStorage wxMpConfigStorage) {
|
||||
String plainXml = toXml();
|
||||
@@ -78,7 +77,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得文本消息builder
|
||||
* @return
|
||||
*/
|
||||
public static TextBuilder TEXT() {
|
||||
return new TextBuilder();
|
||||
@@ -86,7 +84,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得图片消息builder
|
||||
* @return
|
||||
*/
|
||||
public static ImageBuilder IMAGE() {
|
||||
return new ImageBuilder();
|
||||
@@ -94,7 +91,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得语音消息builder
|
||||
* @return
|
||||
*/
|
||||
public static VoiceBuilder VOICE() {
|
||||
return new VoiceBuilder();
|
||||
@@ -102,7 +98,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得视频消息builder
|
||||
* @return
|
||||
*/
|
||||
public static VideoBuilder VIDEO() {
|
||||
return new VideoBuilder();
|
||||
@@ -110,7 +105,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得音乐消息builder
|
||||
* @return
|
||||
*/
|
||||
public static MusicBuilder MUSIC() {
|
||||
return new MusicBuilder();
|
||||
@@ -118,7 +112,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得图文消息builder
|
||||
* @return
|
||||
*/
|
||||
public static NewsBuilder NEWS() {
|
||||
return new NewsBuilder();
|
||||
@@ -126,7 +119,6 @@ public abstract class WxMpXmlOutMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* 获得客服消息builder
|
||||
* @return
|
||||
*/
|
||||
public static TransferCustomerServiceBuilder TRANSFER_CUSTOMER_SERVICE() {
|
||||
return new TransferCustomerServiceBuilder();
|
||||
|
||||
@@ -55,7 +55,6 @@ public class WxMpKfInfo implements Serializable {
|
||||
|
||||
/**
|
||||
* accepted_case 客服当前正在接待的会话数
|
||||
* @return
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("accepted_case")
|
||||
|
||||
Reference in New Issue
Block a user