#2080 - Refactor convert from sychronized to ReentrantLock

DatabaseFactory, DbPrimary, ScalarTypeArrayList etc
This commit is contained in:
rob bygrave committed 2020-10-16 00:46:13 +13:00
1 parent 54ada6e07b
commit 064b3ceaa4
9 files changed
+121 -49

No files matched your search

@@ -30,7 +30,7 @@ public class TestCacheViaComplexNaturalKey extends BaseTestCase {
return server().getServerCacheManager();
}
private static synchronized void insertSome() {
private static void insertSome() {
if (!loadOnce) {
Ebean.find(OCachedNatKeyBean.class).delete();
for (String store : Arrays.asList("abc", "def")) {
@@ -28,7 +28,7 @@ public class TestCacheViaComplexNaturalKey3 extends BaseTestCase {
return server().getServerCacheManager();
}
private static synchronized void insertSome() {
private static void insertSome() {
if (!loadOnce) {
Ebean.find(OCachedNatKeyBean3.class).delete();