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 e0e03d8 commit b5a760dCopy full SHA for b5a760d
weixin-java-common/src/main/java/me/chanjar/weixin/common/util/xml/IntegerArrayConverter.java
@@ -24,6 +24,11 @@ public String toString(Object obj) {
24
25
@Override
26
public Object fromString(String str) {
27
+
28
+ if (str == null || str.length() == 0) {
29
+ return null;
30
+ }
31
32
final Iterable<String> iterable = Splitter.on(",").split(str);
33
final String[] strings = Iterables.toArray(iterable, String.class);
34
Integer[] result = new Integer[strings.length];
0 commit comments