mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 07:23:01 +08:00
消灭不规范代码(由sonatype检测出来的)
This commit is contained in:
parent
761c570cad
commit
1524de26e6
@ -20,8 +20,7 @@ public class WxError implements Serializable {
|
||||
private String json;
|
||||
|
||||
public static WxError fromJson(String json) {
|
||||
WxError error = WxGsonBuilder.create().fromJson(json, WxError.class);
|
||||
return error;
|
||||
return WxGsonBuilder.create().fromJson(json, WxError.class);
|
||||
}
|
||||
|
||||
public static Builder newBuilder() {
|
||||
|
Loading…
Reference in New Issue
Block a user