From 06368da424915190303bcb501f0cc4cd1b74a2f2 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 7 Aug 2011 22:52:54 +0200 Subject: [PATCH] minor --- .../src/main/java/org/wamblee/xmlrouter/impl/ConfigImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); } -- 2.31.1