mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Daily merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,6 +23,7 @@ import java.net.Socket;
|
||||
import java.net.UnknownHostException;
|
||||
import java.security.Provider;
|
||||
import java.security.Security;
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Enumeration;
|
||||
import java.util.List;
|
||||
@@ -1430,7 +1431,15 @@ public class ServerConfiguration implements ApplicationListener
|
||||
{
|
||||
// Check for the old style configuration
|
||||
|
||||
filesysElems = config.getConfigElementList( "filesystem");
|
||||
ConfigElement filesysElem = config.getConfigElement( "filesystem");
|
||||
|
||||
if (filesysElem != null)
|
||||
{
|
||||
// create a list with the single filesys element in
|
||||
|
||||
filesysElems = new ArrayList<ConfigElement>(1);
|
||||
filesysElems.add(filesysElem);
|
||||
}
|
||||
|
||||
// Warn that the configuration is using the old format
|
||||
|
||||
|
Reference in New Issue
Block a user