Skip to content

Commit 8ed0bbc

Browse files
committed
FailureExpectedWithNewMetamodel cleanup
1 parent 2a0b982 commit 8ed0bbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,10 @@ public static String[] qualifyIfNot(String prefix, String[] names) {
496496
}
497497

498498
public static String qualifyIfNot(String qualifier, String name) {
499+
if ( isEmpty( name ) ) {
500+
return null;
501+
}
502+
499503
if ( name.indexOf( '.' ) > 0 ) {
500504
return name;
501505
}

0 commit comments

Comments
 (0)