From 5d03b49b07d6e46d10ac4a7600392ed4fd613469 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 18 Feb 2004 10:57:39 +0000 Subject: [PATCH] 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. --- src/helma/util/SystemProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/util/SystemProperties.java b/src/helma/util/SystemProperties.java index dd24ad65..c532e673 100644 --- a/src/helma/util/SystemProperties.java +++ b/src/helma/util/SystemProperties.java @@ -121,7 +121,7 @@ public final class SystemProperties extends Properties { clear(); // read from the primary file - if (file != null) { + if (file != null && file.exists()) { FileInputStream bpin = null; try {