updated getFile to return null if property is not defined

Former-commit-id: 3dbd8d356cc509619fe8caa9539a4d01906aa3f9
This commit is contained in:
Jeremy Long
2013-11-29 07:45:41 -05:00
parent e871d37044
commit ab2bfa951c

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);
}