IpConfigStore: New constructor to accept writer
am: 6df1731743
* commit '6df1731743c92d61451c4c1b10f27a89b1b0b973':
IpConfigStore: New constructor to accept writer
This commit is contained in:
@@ -59,8 +59,12 @@ public class IpConfigStore {
|
|||||||
|
|
||||||
protected static final int IPCONFIG_FILE_VERSION = 2;
|
protected static final int IPCONFIG_FILE_VERSION = 2;
|
||||||
|
|
||||||
|
public IpConfigStore(DelayedDiskWrite writer) {
|
||||||
|
mWriter = writer;
|
||||||
|
}
|
||||||
|
|
||||||
public IpConfigStore() {
|
public IpConfigStore() {
|
||||||
mWriter = new DelayedDiskWrite();
|
this(new DelayedDiskWrite());
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean writeConfig(DataOutputStream out, int configKey,
|
private boolean writeConfig(DataOutputStream out, int configKey,
|
||||||
|
|||||||
Reference in New Issue
Block a user