Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Sep 13, 2011
1 parent 4edfcfd commit 82a5b04
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -49,7 +49,11 @@ public Map<String, String> getVarsFromPropertiesFile(File propertiesFile) throws
}

for (Map.Entry<Object, Object> entry : properties.entrySet()) {
result.put((String) entry.getKey(), (String) entry.getValue());
String propKey = String.valueOf(entry.getKey());
propKey = propKey.trim();
String propVal = String.valueOf(entry.getValue());
propVal = propVal.trim();
result.put(propKey, propVal);
}
return result;
}
Expand Down

0 comments on commit 82a5b04

Please sign in to comment.