fixed compile error

This commit is contained in:
wenshao
2012-08-17 10:24:01 +08:00
parent 22ac97180c
commit 5c0c686a27
2 changed files with 8 additions and 2 deletions
@@ -183,4 +183,11 @@ public class StringUtils {
public static void main(String args[]) {
System.out.println(JSON.toJSONString(getParameters("test?t=1&f=").get("t")));
}
public static boolean equals(String a, String b) {
if (a == null) {
return b == null;
}
return a.equals(b);
}
}