Remove CSS code
[controller.git] / opendaylight / config / config-persister-impl / src / main / java / org / opendaylight / controller / config / persist / impl / PropertiesProviderAdapterImpl.java
diff --git a/opendaylight/config/config-persister-impl/src/main/java/org/opendaylight/controller/config/persist/impl/PropertiesProviderAdapterImpl.java b/opendaylight/config/config-persister-impl/src/main/java/org/opendaylight/controller/config/persist/impl/PropertiesProviderAdapterImpl.java
deleted file mode 100644 (file)
index acef56f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2013 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 org.opendaylight.controller.config.persist.api.PropertiesProvider;
-
-public class PropertiesProviderAdapterImpl implements PropertiesProvider {
-    private final PropertiesProvider inner;
-    private final String index;
-
-    public PropertiesProviderAdapterImpl(final PropertiesProvider inner, final String index) {
-        this.inner = inner;
-        this.index = index;
-    }
-
-    @Override
-    public String getProperty(final String key) {
-        String fullKey = getFullKeyForReporting(key);
-        return inner.getPropertyWithoutPrefix(fullKey);
-    }
-
-    public String getPrefix() {
-        return inner.getPrefix() + "." + index + ".properties";
-    }
-
-    @Override
-    public String getPropertyWithoutPrefix(final String fullKey) {
-        return inner.getPropertyWithoutPrefix(fullKey);
-    }
-
-
-    @Override
-    public String getFullKeyForReporting(final String key) {
-        return getPrefix()  + "." + key;
-    }
-}