Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
AbstractConfig.setAttribute contains duplicate condition with different behaviors. It's not clear to me which is correct or if they should be combined, so I think we'll have to do some testing.
} else if (valueType.equals(String[].class)) { attObjectValue = value.split(",");
} else if (valueType.equals(String[].class)) { if (value == null || value.length() == 0) { attObjectValue = null; } else { String trimAttName = name.substring(0, name.length() - 1); throw new UnmodifiableException( LocalizedStrings.AbstractConfig_THE_0_CONFIGURATION_ATTRIBUTE_CAN_NOT_BE_SET_FROM_THE_COMMAND_LINE_SET_1_FOR_EACH_INDIVIDUAL_PARAMETER_INSTEAD .toLocalizedString(name, trimAttName)); }
Attachments
Issue Links
- links to