class DummyMessagePrinter implements MessagePrinter {

  public static MessagePrinter getInstance() {
    if (null == instance) {
      synchronized (DummyMessagePrinter.class) {
        if (null == instance) {
          instance = new DummyMessagePrinter();
        }
        return instance;
      }
    }
    return instance;
  }

}