git://wamblee.org
/
xmlrouter
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor
[xmlrouter]
/
impl
/
src
/
main
/
java
/
org
/
wamblee
/
xmlrouter
/
impl
/
ConfigImpl.java
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 0324e78f8353b1dd58598e49b66ecca786b6552d..75b8222c04363038f3ed289eb5386a9c7843aded 100644
(file)
--- 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;
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.
*
/**
* Default implementation of the {@link Config} interface.
*
@@
-48,7
+45,7
@@
public abstract class ConfigImpl<T extends Identifiable<T>> implements
* Constructs the object.
*/
public ConfigImpl(Id<Config> aId) {
* Constructs the object.
*/
public ConfigImpl(Id<Config> aId) {
- // TODO test for null.
+ notNull("id", aId);
id = aId;
registered = new ArrayList<T>();
}
id = aId;
registered = new ArrayList<T>();
}