Great refactoring

This commit is contained in:
leventov
2015-01-17 03:19:35 +07:00
parent 8a4ad9ade2
commit d897891bfb
72 changed files with 5612 additions and 6382 deletions
@@ -92,8 +92,7 @@ public class TCPSocketReplicationNativeTest {
LongValue value = DataValueClasses.newDirectReference(LongValue.class);
try (WriteContext<Integer, LongValue> c = map1
.acquireUsingLocked(1, value)) {
try (MapKeyContext<LongValue> c = map1.acquireContext(1, value)) {
value.setValue(10);
}
@@ -109,13 +108,11 @@ public class TCPSocketReplicationNativeTest {
LongValue value = DataValueClasses.newDirectReference(LongValue.class);
try (WriteContext<Integer, LongValue> c = map1
.acquireUsingLocked(1, value)) {
try (MapKeyContext<LongValue> c = map1.acquireContext(1, value)) {
value.setValue(10);
}
try (WriteContext<Integer, LongValue> c = map1
.acquireUsingLocked(1, value)) {
try (MapKeyContext<LongValue> c = map1.acquireContext(1, value)) {
value.setValue(20);
}