From 99155e564ce0175fb34926048c2660b43c38ab09 Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sat, 15 Dec 2012 20:47:47 +0000 Subject: [PATCH] Muted pmd for empty catch blocks. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422350 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/math3/random/EmpiricalDistribution.java | 4 ++-- .../java/org/apache/commons/math3/random/ValueServer.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java b/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java index eb0ba838e..65d6c6705 100644 --- a/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java +++ b/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java @@ -269,7 +269,7 @@ public class EmpiricalDistribution extends AbstractRealDistribution { } finally { try { in.close(); - } catch (IOException ex) { + } catch (IOException ex) { //NOPMD // ignore } } @@ -301,7 +301,7 @@ public class EmpiricalDistribution extends AbstractRealDistribution { } finally { try { in.close(); - } catch (IOException ex) { + } catch (IOException ex) { //NOPMD // ignore } } diff --git a/src/main/java/org/apache/commons/math3/random/ValueServer.java b/src/main/java/org/apache/commons/math3/random/ValueServer.java index 7be2e0e73..7f7050d8f 100644 --- a/src/main/java/org/apache/commons/math3/random/ValueServer.java +++ b/src/main/java/org/apache/commons/math3/random/ValueServer.java @@ -292,7 +292,7 @@ public class ValueServer { try { filePointer.close(); filePointer = null; - } catch (IOException ex) { + } catch (IOException ex) { //NOPMD // ignore } }