committed by
Jens Schauder
parent
5de52af824
commit
9277792d87
@@ -196,7 +196,7 @@ public abstract class AbstractDialect implements Dialect {
|
||||
@Override
|
||||
public CharSequence apply(CharSequence charSequence) {
|
||||
|
||||
if (charSequence.length() == 0) {
|
||||
if (charSequence.isEmpty()) {
|
||||
return charSequence;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class InVisitor extends TypedSingleConditionRenderSupport<In> {
|
||||
part.append(", ");
|
||||
}
|
||||
|
||||
if (part.length() == 0) {
|
||||
if (part.isEmpty()) {
|
||||
part.append(renderedPart);
|
||||
if (notIn) {
|
||||
part.append(" NOT");
|
||||
|
||||
Reference in New Issue
Block a user