Fix checkstyle warning, remove forgotten deprecated methods.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/093e3bb2 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/093e3bb2 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/093e3bb2 Branch: refs/heads/master Commit: 093e3bb2e3cd9992f3f0d14373d406bb9b2ed36e Parents: b7d8801 Author: Thomas Neidhart <[email protected]> Authored: Mon Mar 16 21:29:21 2015 +0100 Committer: Thomas Neidhart <[email protected]> Committed: Mon Mar 16 21:29:21 2015 +0100 ---------------------------------------------------------------------- .../math4/random/EmpiricalDistribution.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/093e3bb2/src/main/java/org/apache/commons/math4/random/EmpiricalDistribution.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/random/EmpiricalDistribution.java b/src/main/java/org/apache/commons/math4/random/EmpiricalDistribution.java index 737d2e5..ac65a73 100644 --- a/src/main/java/org/apache/commons/math4/random/EmpiricalDistribution.java +++ b/src/main/java/org/apache/commons/math4/random/EmpiricalDistribution.java @@ -401,7 +401,7 @@ public class EmpiricalDistribution extends AbstractRealDistribution { // Set up grid min = sampleStats.getMin(); max = sampleStats.getMax(); - delta = (max - min)/(binCount); + delta = (max - min)/binCount; // Initialize binStats ArrayList if (!binStats.isEmpty()) { @@ -719,22 +719,6 @@ public class EmpiricalDistribution extends AbstractRealDistribution { * {@inheritDoc} * @since 3.1 */ - public boolean isSupportLowerBoundInclusive() { - return true; - } - - /** - * {@inheritDoc} - * @since 3.1 - */ - public boolean isSupportUpperBoundInclusive() { - return true; - } - - /** - * {@inheritDoc} - * @since 3.1 - */ @Override public boolean isSupportConnected() { return true;
