package poussecafe.storage.internal;

import poussecafe.storage.DirectMessageSending;
import poussecafe.storage.MessageSendingPolicy;
import poussecafe.storage.NoTransactionRunner;
import poussecafe.storage.Storage;
import poussecafe.storage.TransactionRunner;

public class InternalStorage extends Storage {

    public static final String NAME = "internal";

    public static InternalStorage instance() {
        return SINGLETON;
    }

    private static final InternalStorage SINGLETON = new InternalStorage();

    @Override
    protected MessageSendingPolicy initMessageSendingPolicy() {
        return new DirectMessageSending();
    }

    @Override
    protected TransactionRunner initTransactionRunner() {
        return new NoTransactionRunner();
    }

    @Override
    public String name() {
        return NAME;
    }
}

@@ -511,16 +511,56 @@
 age();%0A%0A
+    private InternalStorage() %7B%0A%0A    %7D%0A%0A
     @Ove

Make InternalStorage constructor private.