From 6529b7c64ced21f376ea35f764cb0e5f14cd2e7d Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 10 Apr 2008 21:56:48 +0000 Subject: [PATCH] --- .../src/main/java/org/wamblee/system/core/Container.java | 2 -- .../src/test/java/org/wamblee/system/core/ContainerTest.java | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/system/general/src/main/java/org/wamblee/system/core/Container.java b/system/general/src/main/java/org/wamblee/system/core/Container.java index b7ee4e60..8436ebca 100644 --- a/system/general/src/main/java/org/wamblee/system/core/Container.java +++ b/system/general/src/main/java/org/wamblee/system/core/Container.java @@ -18,9 +18,7 @@ package org.wamblee.system.core; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; -import java.util.HashSet; import java.util.List; -import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; diff --git a/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java b/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java index dfd8ed58..5a7fa90b 100644 --- a/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java +++ b/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java @@ -290,6 +290,8 @@ public class ContainerTest extends TestCase { Thread.currentThread()).toArray(new String[0])); ProvidedInterface[] envServices = environment.getRunningInterfaces(); assertEquals(0, envServices.length); + assertNull(environment.getProvidedInterfaces()[0].getImplementation()); + assertNull(environment.getProvidedInterfaces()[0].getImplementation()); return; } fail(); @@ -330,6 +332,8 @@ public class ContainerTest extends TestCase { Thread.currentThread()).toArray(new String[0])); ProvidedInterface[] envServices = environment.getRunningInterfaces(); assertEquals(0, envServices.length); + assertNull(environment.getProvidedInterfaces()[0].getImplementation()); + assertNull(environment.getProvidedInterfaces()[0].getImplementation()); return; } fail(); -- 2.31.1