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/";
if (!defaultNamespace.endsWith(defaultSuffix)) {
throw new IllegalArgumentException(
"Default namespace does not match the expected form: '"
+ defaultNamespace + "'");
log.warn("Default namespace does not match the expected form "
+ "(does not end with '" + defaultSuffix + "'): '"
+ defaultNamespace + "'");
}
return Collections.singleton(defaultNamespace);