HHH-14190 Method StringHelper#moveAndToBeginning could benefit from using the improved helper too
This commit is contained in:
parent
03a1bb5ac8
commit
28787bc013
|
@ -624,7 +624,7 @@ public final class StringHelper {
|
|||
}
|
||||
|
||||
public static String moveAndToBeginning(String filter) {
|
||||
if ( filter.trim().length() > 0 ) {
|
||||
if ( !isBlank( filter ) ) {
|
||||
filter += " and ";
|
||||
if ( filter.startsWith( " and " ) ) {
|
||||
filter = filter.substring( 4 );
|
||||
|
|
Loading…
Reference in New Issue