Author: manik.surtani(a)jboss.com
Date: 2008-07-23 11:21:40 -0400 (Wed, 23 Jul 2008)
New Revision: 6379
Modified:
core/trunk/src/main/java/org/jboss/cache/Fqn.java
Log:
removed tmp assertion
Modified: core/trunk/src/main/java/org/jboss/cache/Fqn.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/Fqn.java 2008-07-23 15:00:08 UTC (rev 6378)
+++ core/trunk/src/main/java/org/jboss/cache/Fqn.java 2008-07-23 15:21:40 UTC (rev 6379)
@@ -113,7 +113,6 @@
{
if (names != null)
{
- assertNoWhiteSpace(names);
// if not safe make a defensive copy
elements = safe ? names : new ImmutableListCopy<Object>(names);
size = elements.size();
@@ -125,12 +124,6 @@
}
}
- private void assertNoWhiteSpace(List<Object> l)
- {
- if (l.contains("") || l.contains(SEPARATOR))
- throw new IllegalArgumentException("Fqn list cannot contain whitespace or
the [" + SEPARATOR + "] character!");
- }
-
protected Fqn(Fqn base, List<Object> relative)
{
elements = new ImmutableListCopy<Object>(base.elements, relative);
Show replies by date