BUG-1089: migrate ConfigurableLinkManager 14/7714/4
authorRobert Varga <rovarga@cisco.com>
Wed, 4 Jun 2014 20:16:44 +0000 (22:16 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 6 Jun 2014 09:50:43 +0000 (09:50 +0000)
ConfigurableLinkManager is utterly unused code, but still needs to be
migrated from xtend. This patch does just that.

Change-Id: If58b847d3adbe40270ce6b254d3e4c415abf9291
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/compatibility/inventory-topology-compatibility/src/main/java/org/opendaylight/controller/md/compatibility/topologymanager/ConfigurableLinkManager.java [moved from opendaylight/md-sal/compatibility/inventory-topology-compatibility/src/main/java/org/opendaylight/controller/md/compatibility/topologymanager/ConfigurableLinkManager.xtend with 57% similarity]

@@ -1,31 +1,31 @@
-/*
+/**
  * Copyright (c) 2014 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
  */
  * Copyright (c) 2014 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.md.compatibility.topologymanager
+package org.opendaylight.controller.md.compatibility.topologymanager;
 
 
-import org.opendaylight.controller.topologymanager.ITopologyManager
-import org.opendaylight.controller.topologymanager.TopologyUserLinkConfig
+import java.util.concurrent.ConcurrentMap;
 
 
-abstract class ConfigurableLinkManager implements ITopologyManager {
-    
-    final override addUserLink(TopologyUserLinkConfig link) {
-        throw new UnsupportedOperationException("TODO: auto-generated method stub")
-        
+import org.opendaylight.controller.sal.utils.Status;
+import org.opendaylight.controller.topologymanager.ITopologyManager;
+import org.opendaylight.controller.topologymanager.TopologyUserLinkConfig;
+
+public abstract class ConfigurableLinkManager implements ITopologyManager {
+    @Override
+    public final Status addUserLink(final TopologyUserLinkConfig link) {
+        throw new UnsupportedOperationException("TODO: auto-generated method stub");
     }
     }
-    
-    
-    final override deleteUserLink(String linkName) {
-        throw new UnsupportedOperationException("TODO: auto-generated method stub")
-        
+
+    @Override
+    public final Status deleteUserLink(final String linkName) {
+        throw new UnsupportedOperationException("TODO: auto-generated method stub");
     }
     }
-    
-    
-    final override getUserLinks() {
-        throw new UnsupportedOperationException("TODO: auto-generated method stub")
-        
+
+    @Override
+    public final ConcurrentMap<String,TopologyUserLinkConfig> getUserLinks() {
+        throw new UnsupportedOperationException("TODO: auto-generated method stub");
     }
 }
     }
 }