提交 46c5fa1f 编写于 作者: limignwei's avatar limignwei 提交者: panjuan

toLowerCase to equalsIgnoreCase (#3232)

上级 a515d93f
......@@ -33,6 +33,6 @@ public final class ExpressionConditionUtils {
* @return true or false
*/
public static boolean isNowExpression(final ExpressionSegment segment) {
return segment instanceof ComplexExpressionSegment && "now()".equals(((ComplexExpressionSegment) segment).getText().toLowerCase());
return segment instanceof ComplexExpressionSegment && "now()".equalsIgnoreCase(((ComplexExpressionSegment) segment).getText());
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册