From: erik Date: Thu, 10 Apr 2008 21:56:48 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2@603~187 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=134d51cd6a329fe963fbeb743a4531d4c5dd4c55;p=utils --- diff --git a/trunk/system/general/src/main/java/org/wamblee/system/core/Container.java b/trunk/system/general/src/main/java/org/wamblee/system/core/Container.java index b7ee4e60..8436ebca 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/core/Container.java +++ b/trunk/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/trunk/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java b/trunk/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java index dfd8ed58..5a7fa90b 100644 --- a/trunk/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java +++ b/trunk/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();