HCOLL-167 simplified the map builder by making "file" very much an option parameter, is it not REQUIRED for all types of maps. Also updated the many of the TCP replication test to remove the user of file() as its simply not required for this in many cases.

This commit is contained in:
Rob Austin
2014-10-20 17:19:27 +01:00
parent 1b40eb8147
commit 8e57eeafc2
41 changed files with 193 additions and 193 deletions
@@ -49,8 +49,10 @@ public class SetForTCPSocketReplicationTest3way {
final int serverPort,
final InetSocketAddress... endpoints) throws IOException {
return (T) ChronicleSetBuilder.of(Integer.class)
.replicators(identifier, of(serverPort, endpoints).
heartBeatInterval(1L, SECONDS)).create(getPersistenceFile());
.file(getPersistenceFile())
.replicators(identifier, of(serverPort, endpoints)
.heartBeatInterval(1L, SECONDS))
.create();
}