You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2015/12/03 18:03:48 UTC
logging-log4j2 git commit: Collapse catch blocks.
Repository: logging-log4j2
Updated Branches:
refs/heads/master 56516ea91 -> 8f236d173
Collapse catch blocks.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/8f236d17
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/8f236d17
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/8f236d17
Branch: refs/heads/master
Commit: 8f236d173282fa0deeaa90c0b20d50dfd3a72ffb
Parents: 56516ea
Author: Matt Sicker <bo...@gmail.com>
Authored: Thu Dec 3 11:03:41 2015 -0600
Committer: Matt Sicker <bo...@gmail.com>
Committed: Thu Dec 3 11:03:41 2015 -0600
----------------------------------------------------------------------
.../logging/log4j/core/config/plugins/util/ResolverUtil.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8f236d17/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtil.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtil.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtil.java
index 227e451..b198490 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtil.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtil.java
@@ -206,10 +206,8 @@ public class ResolverUtil {
loadImplementationsInJar(test, packageName, file);
}
}
- } catch (final IOException ioe) {
+ } catch (final IOException | URISyntaxException ioe) {
LOGGER.warn("could not read entries", ioe);
- } catch (final URISyntaxException e) {
- LOGGER.warn("could not read entries", e);
}
}
}