Skip to content
Snippets Groups Projects
Commit 7817a9fc authored by Gregor Maier's avatar Gregor Maier
Browse files

IDevice should not expose getEntieties()

BSC-2116
parent e1ac2744
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,6 @@ package net.floodlightcontroller.devicemanager; ...@@ -19,8 +19,6 @@ package net.floodlightcontroller.devicemanager;
import java.util.Date; import java.util.Date;
import net.floodlightcontroller.devicemanager.internal.Entity;
/** /**
* Represents an independent device on the network. A device consists of a * Represents an independent device on the network. A device consists of a
...@@ -89,9 +87,4 @@ public interface IDevice { ...@@ -89,9 +87,4 @@ public interface IDevice {
*/ */
public IEntityClass getEntityClass(); public IEntityClass getEntityClass();
/**
* Get the list of entities for this device
* @return
*/
public Entity[] getEntities();
} }
...@@ -363,7 +363,6 @@ public class Device implements IDevice { ...@@ -363,7 +363,6 @@ public class Device implements IDevice {
return entityClass; return entityClass;
} }
@Override
public Entity[] getEntities() { public Entity[] getEntities() {
return entities; return entities;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment