Commit 0b078523 authored by yanzg's avatar yanzg

设置打包时可以通过GIT查看源码

parent 3db4cf88
...@@ -696,6 +696,17 @@ public class StringHelper { ...@@ -696,6 +696,17 @@ public class StringHelper {
} }
} }
/**
* 对比字符串是否相等,不区分大小写
*
* @param from 第一个字符串
* @param to 第二个字符串
* @return 相等时返回true
*/
public static boolean compare(Object from, Object to) {
return compare(String.valueOf(from), String.valueOf(to), false);
}
/** /**
* 对比字符串是否相等,不区分大小写 * 对比字符串是否相等,不区分大小写
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment