package peergos.server;

import peergos.server.corenode.*;
import peergos.server.mutable.*;
import peergos.server.social.*;
import peergos.server.storage.*;
import peergos.shared.*;
import peergos.shared.user.*;

public class NonWriteThroughNetwork {

    public static NetworkAccess build(NetworkAccess source) {
        NonWriteThroughStorage storage = new NonWriteThroughStorage(source.dhtClient);
        NonWriteThroughMutablePointers mutable = new NonWriteThroughMutablePointers(source.mutable, storage);
        return new NetworkAccess(
                new NonWriteThroughCoreNode(source.coreNode, storage),
                new NonWriteThroughSocialNetwork(source.social, storage),
                storage,
                mutable,
                new MutableTreeImpl(mutable, storage),
                null,
                source.usernames,
                false);
    }
}

@@ -808,12 +808,28 @@
     
-null
+source.instanceAdmin
 ,%0A  

remove code smell