Remove the requirement for a namespace ending in "/individual/" - print a warning, but go on.

This commit is contained in:
jeb228 2010-07-29 16:02:10 +00:00
parent 1403274f72
commit 34799b02ed

View file

@ -97,9 +97,9 @@ public class FileStorageSetup implements ServletContextListener {
String defaultSuffix = "/individual/"; String defaultSuffix = "/individual/";
if (!defaultNamespace.endsWith(defaultSuffix)) { if (!defaultNamespace.endsWith(defaultSuffix)) {
throw new IllegalArgumentException( log.warn("Default namespace does not match the expected form "
"Default namespace does not match the expected form: '" + "(does not end with '" + defaultSuffix + "'): '"
+ defaultNamespace + "'"); + defaultNamespace + "'");
} }
return Collections.singleton(defaultNamespace); return Collections.singleton(defaultNamespace);