HHH-16169 - Fix potential NullPointerException in CollectionEntry
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
ab860995ef
commit
7ba3bb98a4
|
@ -375,7 +375,7 @@ public final class CollectionEntry implements Serializable {
|
|||
@Override
|
||||
public String toString() {
|
||||
String result = "CollectionEntry" +
|
||||
MessageHelper.collectionInfoString( loadedPersister.getRole(), loadedKey );
|
||||
MessageHelper.collectionInfoString( role, loadedKey );
|
||||
if ( currentPersister != null ) {
|
||||
result += "->" +
|
||||
MessageHelper.collectionInfoString( currentPersister.getRole(), currentKey );
|
||||
|
|
Loading…
Reference in New Issue