mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-13 06:42:57 +00:00
#2080 - Refactor convert from sychronized to ReentrantLock
DatabaseFactory, DbPrimary, ScalarTypeArrayList etc
This commit is contained in:
1 parent
54ada6e07b
commit
064b3ceaa4
9 files changed
+121
-49
No files matched your search
+1
-1
@@ -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")) {
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user