mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-28 06:49:09 +00:00
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 static String unqualifyEntityName(String entityName) {
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user