Skip to content

Commit 2e85dfd

Browse files
committed
remove useless javadoc
1 parent ff3cdb1 commit 2e85dfd

29 files changed

Lines changed: 2 additions & 235 deletions

‎weixin-java-common/src/main/java/me/chanjar/weixin/common/util/json/GsonHelper.java‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.common.util.json;
102

11-
123
import com.google.common.collect.Lists;
134
import com.google.gson.JsonArray;
145
import com.google.gson.JsonElement;
156
import com.google.gson.JsonObject;
167

178
import java.util.List;
189

19-
2010
public class GsonHelper {
2111

2212
public static boolean isNull(JsonElement element) {
@@ -95,7 +85,7 @@ public static Boolean getAsBoolean(JsonElement element) {
9585

9686
public static boolean getAsPrimitiveBool(JsonElement element) {
9787
Boolean r = getAsBoolean(element);
98-
return r != null && r.booleanValue();
88+
return r != null && r;
9989
}
10090

10191
public static Double getAsDouble(JsonElement element) {
@@ -129,6 +119,7 @@ public static Integer[] getIntArray(JsonObject o, String string) {
129119

130120
return result.toArray(new Integer[0]);
131121
}
122+
132123
public static String[] getStringArray(JsonObject o, String string) {
133124
JsonArray jsonArray = getAsJsonArray(o.getAsJsonArray(string));
134125
if (jsonArray == null) {

‎weixin-java-common/src/main/java/me/chanjar/weixin/common/util/json/WxAccessTokenAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.common.util.json;
102

113
import com.google.gson.*;

‎weixin-java-common/src/main/java/me/chanjar/weixin/common/util/json/WxErrorAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.common.util.json;
102

113
import com.google.gson.*;

‎weixin-java-common/src/main/java/me/chanjar/weixin/common/util/json/WxMediaUploadResultAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.common.util.json;
102

113
import com.google.gson.*;

‎weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/util/json/WxMaKefuMessageGsonAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package cn.binarywang.wx.miniapp.util.json;
102

113
import cn.binarywang.wx.miniapp.bean.WxMaKefuMessage;

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/json/WxMpKefuMessageGsonAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.mp.util.json;
102

113
import com.google.gson.*;

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/json/WxMpMassNewsArticleGsonAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.mp.util.json;
102

113
import com.google.gson.*;

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/json/WxMpMassNewsGsonAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.mp.util.json;
102

113
import com.google.gson.*;

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/json/WxMpMassOpenIdsMessageGsonAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.mp.util.json;
102

113
import com.google.gson.*;

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/json/WxMpMassSendResultAdapter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* KINGSTAR MEDIA SOLUTIONS Co.,LTD. Copyright c 2005-2013. All rights reserved.
3-
*
4-
* This source code is the property of KINGSTAR MEDIA SOLUTIONS LTD. It is intended
5-
* only for the use of KINGSTAR MEDIA application development. Reengineering, reproduction
6-
* arose from modification of the original source, or other redistribution of this source
7-
* is not permitted without written permission of the KINGSTAR MEDIA SOLUTIONS LTD.
8-
*/
91
package me.chanjar.weixin.mp.util.json;
102

113
import com.google.gson.*;

0 commit comments

Comments
 (0)