Skip to content

Commit f4b4e4e

Browse files
Minor fixes and refactoring
1 parent aff511d commit f4b4e4e

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

spring-data-eclipse-store-jpa/src/test/java/software/xdev/spring/data/eclipse/store/jpa/integration/JpaImportExplicitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void testEclipseStoreImportExplicitNoComponent()
6363
this.configuration.getStorageInstance().stop();
6464
Assertions.assertEquals(
6565
1,
66-
this.configuration.getStorageInstance().getNonLazyCommunicator().getEntityCount(PersonToTestInJpa.class),
66+
this.configuration.getStorageInstance().getEntityCount(PersonToTestInJpa.class),
6767
"After restart the imported entities are not there anymore.");
6868
}
6969
}

spring-data-eclipse-store-jpa/src/test/java/software/xdev/spring/data/eclipse/store/jpa/integration/JpaImportTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void testEclipseStoreImport(@Autowired final EclipseStoreDataImporterComponent e
7272
this.configuration.getStorageInstance().stop();
7373
Assertions.assertEquals(
7474
1,
75-
this.configuration.getStorageInstance().getNonLazyCommunicator().getEntityCount(PersonToTestInJpa.class),
75+
this.configuration.getStorageInstance().getEntityCount(PersonToTestInJpa.class),
7676
"After restart the imported entities are not there anymore.");
7777
}
7878

spring-data-eclipse-store/src/main/java/software/xdev/spring/data/eclipse/store/repository/support/concurrency/ValueOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package software.xdev.spring.data.eclipse.store.repository.support.concurrency;
1717

1818
/**
19-
* Operation with a return value, used by {@link ReentrantJavaReadWriteLock} and {@link ReadWriteLockedStriped}.
19+
* Operation with a return value, used by {@link ReentrantJavaReadWriteLock}.
2020
*
2121
* @param T the return type
2222
*/
@@ -28,5 +28,5 @@ public interface ValueOperation<T>
2828
*
2929
* @return the result of the operation
3030
*/
31-
public T execute();
31+
T execute();
3232
}

spring-data-eclipse-store/src/main/java/software/xdev/spring/data/eclipse/store/repository/support/concurrency/VoidOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
package software.xdev.spring.data.eclipse.store.repository.support.concurrency;
1717

1818
/**
19-
* Operation with no return value, used by {@link ReentrantJavaReadWriteLock} and {@link ReadWriteLockedStriped}.
19+
* Operation with no return value, used by {@link ReentrantJavaReadWriteLock}.
2020
*/
2121
@FunctionalInterface
2222
public interface VoidOperation
2323
{
2424
/**
2525
* Execute an arbitrary operation
2626
*/
27-
public void execute();
27+
void execute();
2828
}

0 commit comments

Comments
 (0)