Do not try to read the main properties file unless it exists. There are usage
scenarios where there is no main properties file, so no error msg should be shown.
This commit is contained in:
parent
209bfb1c35
commit
5d03b49b07
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public final class SystemProperties extends Properties {
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
// read from the primary file
|
// read from the primary file
|
||||||
if (file != null) {
|
if (file != null && file.exists()) {
|
||||||
FileInputStream bpin = null;
|
FileInputStream bpin = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue