NIHVIVO-1942 when loading the deploy.properties file, strip any trailing whitespace from the properties.

This commit is contained in:
jeb228 2011-01-28 16:08:56 +00:00
parent 5a84820263
commit 8894597e7e
3 changed files with 11 additions and 2 deletions

View file

@ -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" } };

View file

@ -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