Commit de450159 authored by yanzg's avatar yanzg

表结构修改

parent 3e90dc11
......@@ -172,6 +172,9 @@ public class StringHelper {
}
boolean isExpand = false;
for (T expandValue : expandValues) {
if (expandValue == null) {
continue;
}
if (expandValue == from || expandValue.equals(from)) {
isExpand = true;
break;
......
......@@ -37,4 +37,10 @@ public class TestGetFirst {
Integer zeroTo = StringHelper.getFirst(zero);
System.out.println(first.equals(zeroTo));
}
@Test
public void testBoolean() {
Boolean first = StringHelper.getFirst(false);
System.out.println(first);
}
}
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