You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/01/08 14:29:44 UTC
[commons-daemon] branch master updated: Collapse multiple identical
catch clauses into one.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
The following commit(s) were added to refs/heads/master by this push:
new dc346f8 Collapse multiple identical catch clauses into one.
dc346f8 is described below
commit dc346f85f2e0b33d835f694089e4fac417c52a3b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 8 09:29:40 2021 -0500
Collapse multiple identical catch clauses into one.
---
.../java/org/apache/commons/daemon/support/DaemonConfiguration.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java b/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
index 8178ca9..f12c566 100644
--- a/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
+++ b/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
@@ -91,9 +91,6 @@ public final class DaemonConfiguration
configurationProperties.load(file);
ok = true;
}
- catch (final FileNotFoundException ex) {
- // fileName does not exist
- }
catch (final IOException ex) {
// Error reading properties file
} finally {