diff --git a/containermanager.impl/src/main/java/org/fortiss/smg/containermanager/impl/ContainerManagerImpl.java b/containermanager.impl/src/main/java/org/fortiss/smg/containermanager/impl/ContainerManagerImpl.java index 6202d57..f56ceeb 100644 --- a/containermanager.impl/src/main/java/org/fortiss/smg/containermanager/impl/ContainerManagerImpl.java +++ b/containermanager.impl/src/main/java/org/fortiss/smg/containermanager/impl/ContainerManagerImpl.java @@ -916,13 +916,13 @@ public boolean removeContainer(String containerID) { */ List> children = new ArrayList>(); children = this.getChildrenWithEdgeTypes(containerID); - Array[] movables = {"WING","DEVICE","DEVICEGATEWAY","UNKNOWN"}; + List movables = Arrays.asList("WING","DEVICE","DEVICEGATEWAY","UNKNOWN"); if (getRealParentContainer(containerID) != null) { for (Entry entry : children) { if (entry.getValue().equals(EdgeType.REAL)) { String containerType = entry.getKey().getContainerType().toString(); - if (movables.contains(entry.getKey().getContainerType().toString())) { + if (movables.contains(containerType)) { logger.debug("updating (real) edge from children to parent of " + containerID); this.updateRealContainerEdgeFixedChild( @@ -1327,4 +1327,10 @@ public List getReasonableTypeForSum() { } return reasonable; } + + @Override + public int addContainerWebUI(Container con) throws TimeoutException { + // TODO Auto-generated method stub + return 0; + } }