From: Erik Brakkee Date: Sun, 7 Aug 2011 20:52:54 +0000 (+0200) Subject: minor X-Git-Tag: PAX_EXAM_MOCKITO_ISSUE~15 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=06368da424915190303bcb501f0cc4cd1b74a2f2;p=xmlrouter minor --- diff --git a/impl/src/main/java/org/wamblee/xmlrouter/impl/ConfigImpl.java b/impl/src/main/java/org/wamblee/xmlrouter/impl/ConfigImpl.java index 0324e78..75b8222 100644 --- a/impl/src/main/java/org/wamblee/xmlrouter/impl/ConfigImpl.java +++ b/impl/src/main/java/org/wamblee/xmlrouter/impl/ConfigImpl.java @@ -26,9 +26,6 @@ import org.wamblee.xmlrouter.common.Id; import org.wamblee.xmlrouter.config.Config; import org.wamblee.xmlrouter.config.Identifiable; -// TODO think real hard about the prefixing. We want a consistent view for clients. -// perhaps only provide a method to add items and hide all access to the ids. - /** * Default implementation of the {@link Config} interface. * @@ -48,7 +45,7 @@ public abstract class ConfigImpl> implements * Constructs the object. */ public ConfigImpl(Id aId) { - // TODO test for null. + notNull("id", aId); id = aId; registered = new ArrayList(); }