Skip to content

Commit c1eff0f

Browse files
jiri-pejchalbrmeyer
authored andcommitted
Update DefaultInitializeCollectionEventListener.java
1 parent 79c3658 commit c1eff0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

hibernate-core/src/main/java/org/hibernate/event/internal/DefaultInitializeCollectionEventListener.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ public void onInitializeCollection(InitializeCollectionEvent event)
7373
source
7474
);
7575

76-
if ( foundInCache && traceEnabled ) {
77-
LOG.trace( "Collection initialized from cache" );
76+
if ( foundInCache ) {
77+
if ( traceEnabled ) {
78+
LOG.trace( "Collection initialized from cache" );
79+
}
7880
}
7981
else {
8082
if ( traceEnabled ) {

0 commit comments

Comments
 (0)