NIHVIVO-1942 when loading the deploy.properties file, strip any trailing whitespace from the properties.
This commit is contained in:
parent
5a84820263
commit
8894597e7e
3 changed files with 11 additions and 2 deletions
|
@ -47,7 +47,7 @@ public class ConfigurationPropertiesTest extends AbstractTestClass {
|
|||
* The mappings that we might find from the property files.
|
||||
*/
|
||||
private static final String[][] MAP_VALUES_DEFAULT = new String[][] { {
|
||||
"whichfile", "test_config_default" } };
|
||||
"whichfile", "test_config_default" }, {"trimmed", "whitespace_test"} };
|
||||
private static final String[][] MAP_VALUES_CONFIGURED = new String[][] { {
|
||||
"whichfile", "test_config" } };
|
||||
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
# This is a data file for ConfigurationPropertiesTest.
|
||||
#
|
||||
whichfile = test_config_default
|
||||
|
||||
# This ends with a blank, in order to test the removal of whitespace
|
||||
trimmed = whitespace_test\u0020
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue