Remove CSS code
[controller.git] / opendaylight / config / config-persister-impl / src / main / java / org / opendaylight / controller / config / persist / impl / NoOpStorageAdapter.java
diff --git a/opendaylight/config/config-persister-impl/src/main/java/org/opendaylight/controller/config/persist/impl/NoOpStorageAdapter.java b/opendaylight/config/config-persister-impl/src/main/java/org/opendaylight/controller/config/persist/impl/NoOpStorageAdapter.java
deleted file mode 100644 (file)
index c8f48d7..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.controller.config.persist.impl;
-
-import java.io.IOException;
-import java.util.Collections;
-import java.util.List;
-import org.opendaylight.controller.config.persist.api.ConfigSnapshotHolder;
-import org.opendaylight.controller.config.persist.api.Persister;
-import org.opendaylight.controller.config.persist.api.PropertiesProvider;
-import org.opendaylight.controller.config.persist.api.StorageAdapter;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class NoOpStorageAdapter implements StorageAdapter, Persister {
-    private static final Logger LOG = LoggerFactory.getLogger(NoOpStorageAdapter.class);
-
-    @Override
-    public Persister instantiate(final PropertiesProvider propertiesProvider) {
-        LOG.debug("instantiate called with {}", propertiesProvider);
-        return this;
-    }
-
-    @Override
-    public void persistConfig(final ConfigSnapshotHolder holder) throws IOException {
-        LOG.debug("persistConfig called with {}", holder);
-    }
-
-    @Override
-    public List<ConfigSnapshotHolder> loadLastConfigs() throws IOException {
-        LOG.debug("loadLastConfig called");
-        return Collections.emptyList();
-    }
-
-    @Override
-    public void close() {
-        LOG.debug("close called");
-    }
-}