mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
added back null handling, which I inadevertently dropped in favor of emptystring handling
This commit is contained in:
@@ -482,7 +482,7 @@ public class ControlPanel extends AbstractDSpaceTransformer implements Serviceab
|
||||
* @param value candidate string.
|
||||
* @return {@code value} or a constant indicating an unset value.
|
||||
*/
|
||||
private static String notempty(String value) { return "".equals(value) ? T_UNSET : value; }
|
||||
private static String notempty(String value) { return "".equals(value) || null == value ? T_UNSET : value; }
|
||||
|
||||
/**
|
||||
* List important DSpace configuration parameters.
|
||||
|
Reference in New Issue
Block a user