File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
hibernate-core/src/main/java/org/hibernate/collection/spi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public int getSize() {
179179 if ( cachedSize >=0 ) {
180180 return cachedSize ;
181181 }
182- throwLazyInitializationExceptionIfNotConnected ();
182+ throwLazyInitializationExceptionIfNotConnected ();
183183 final CollectionEntry entry = session .getPersistenceContextInternal ().getCollectionEntry ( this );
184184 if ( entry == null ) {
185185 throwLazyInitializationException ("collection not associated with session" );
@@ -355,7 +355,7 @@ protected Boolean readElementExistence(final Object element) {
355355
356356 @ Override
357357 public boolean elementExists (Object element ) {
358- throwLazyInitializationExceptionIfNotConnected ();
358+ throwLazyInitializationExceptionIfNotConnected ();
359359 final CollectionEntry entry = session .getPersistenceContextInternal ().getCollectionEntry ( this );
360360 if ( entry == null ) {
361361 throwLazyInitializationException ("collection not associated with session" );
@@ -409,7 +409,7 @@ public Object doWork() {
409409
410410 @ Override
411411 public Object elementByIndex (Object index ) {
412- throwLazyInitializationExceptionIfNotConnected ();
412+ throwLazyInitializationExceptionIfNotConnected ();
413413 final CollectionEntry entry = session .getPersistenceContextInternal ().getCollectionEntry ( this );
414414 if ( entry == null ) {
415415 throwLazyInitializationException ("collection not associated with session" );
You can’t perform that action at this time.
0 commit comments