Skip to content

Commit 8b535c5

Browse files
committed
Fix checkstyle violations
1 parent dd1354a commit 8b535c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hibernate-core/src/main/java/org/hibernate/collection/spi/AbstractPersistentCollection.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)