updated getFile to return null if property is not defined

Former-commit-id: b9373294be1860ecc0bbe0193fe2704f0678db69
This commit is contained in:
Jeremy Long
2013-11-29 07:45:41 -05:00
parent a71c8cef83
commit 864807196c

View File

@@ -265,6 +265,9 @@ public final class Settings {
*/
public static File getFile(String key) {
final String file = getString(key);
if (file == null) {
return null;
}
return new File(file);
}