mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Cleanup classes
This commit is contained in:
@@ -55,9 +55,9 @@ public class MemoryLeaksTest {
|
||||
@Rule
|
||||
public TemporaryFolder folder = new TemporaryFolder();
|
||||
|
||||
private boolean persisted;
|
||||
private ChronicleMapBuilder<IntValue, String> builder;
|
||||
private boolean closeWithinContext;
|
||||
private final boolean persisted;
|
||||
private final ChronicleMapBuilder<IntValue, String> builder;
|
||||
private final boolean closeWithinContext;
|
||||
|
||||
public MemoryLeaksTest(String testType, boolean replicated, boolean persisted, boolean closeWithinContext) {
|
||||
this.persisted = persisted;
|
||||
@@ -226,7 +226,7 @@ public class MemoryLeaksTest {
|
||||
}
|
||||
}
|
||||
|
||||
private static class CountedStringReader extends StringSizedReader {
|
||||
private static final class CountedStringReader extends StringSizedReader {
|
||||
private transient MemoryLeaksTest memoryLeaksTest;
|
||||
private final String creationStackTrace;
|
||||
private final Cleaner cleaner;
|
||||
@@ -252,4 +252,4 @@ public class MemoryLeaksTest {
|
||||
return new CountedStringReader(this.memoryLeaksTest);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user