mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Fix to bug SF#1897927 - Checksum checker does not work. The ConfigurationManager was failing to load the default configuration file when "getProperties()" was called from Checksum checker.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -101,6 +101,11 @@ public class ConfigurationManager
|
|||||||
*/
|
*/
|
||||||
public static Properties getProperties()
|
public static Properties getProperties()
|
||||||
{
|
{
|
||||||
|
if (properties == null)
|
||||||
|
{
|
||||||
|
loadConfig(null);
|
||||||
|
}
|
||||||
|
|
||||||
return (Properties)properties.clone();
|
return (Properties)properties.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user