commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject [2/2] [math] [MATH-859] Remove deprecated isSupportXXXInclusive methods from RealDistribution.
Date Tue, 24 Feb 2015 22:08:56 GMT
[MATH-859] Remove deprecated isSupportXXXInclusive methods from RealDistribution.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/ece7c6fc
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/ece7c6fc
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/ece7c6fc

Branch: refs/heads/master
Commit: ece7c6fc67c0d584f4884c5b17ddf491a397fdfe
Parents: 4be09df
Author: Thomas Neidhart <thomas.neidhart@gmail.com>
Authored: Tue Feb 24 23:08:40 2015 +0100
Committer: Thomas Neidhart <thomas.neidhart@gmail.com>
Committed: Tue Feb 24 23:08:40 2015 +0100

----------------------------------------------------------------------
 .../math4/distribution/BetaDistribution.java    | 10 ------
 .../math4/distribution/CauchyDistribution.java  | 10 ------
 .../distribution/ChiSquaredDistribution.java    | 10 ------
 .../distribution/ConstantRealDistribution.java  | 10 ------
 .../EnumeratedRealDistribution.java             | 22 --------------
 .../distribution/ExponentialDistribution.java   | 10 ------
 .../math4/distribution/FDistribution.java       | 10 ------
 .../math4/distribution/GammaDistribution.java   | 10 ------
 .../math4/distribution/GumbelDistribution.java  | 10 ------
 .../math4/distribution/LaplaceDistribution.java | 10 ------
 .../math4/distribution/LevyDistribution.java    | 13 --------
 .../distribution/LogNormalDistribution.java     | 10 ------
 .../distribution/LogisticDistribution.java      | 10 ------
 .../distribution/NakagamiDistribution.java      | 10 ------
 .../math4/distribution/NormalDistribution.java  | 10 ------
 .../math4/distribution/ParetoDistribution.java  | 10 ------
 .../math4/distribution/RealDistribution.java    | 26 ----------------
 .../math4/distribution/TDistribution.java       | 10 ------
 .../distribution/TriangularDistribution.java    | 10 ------
 .../distribution/UniformRealDistribution.java   | 10 ------
 .../math4/distribution/WeibullDistribution.java | 10 ------
 .../EnumeratedRealDistributionTest.java         | 18 -----------
 .../RealDistributionAbstractTest.java           | 32 --------------------
 23 files changed, 291 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/BetaDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/BetaDistribution.java b/src/main/java/org/apache/commons/math4/distribution/BetaDistribution.java
index f2fb03c..408762d 100644
--- a/src/main/java/org/apache/commons/math4/distribution/BetaDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/BetaDistribution.java
@@ -246,16 +246,6 @@ public class BetaDistribution extends AbstractRealDistribution {
         return 1;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/CauchyDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/CauchyDistribution.java b/src/main/java/org/apache/commons/math4/distribution/CauchyDistribution.java
index 33d908e..d38b771 100644
--- a/src/main/java/org/apache/commons/math4/distribution/CauchyDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/CauchyDistribution.java
@@ -233,16 +233,6 @@ public class CauchyDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/ChiSquaredDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/ChiSquaredDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/ChiSquaredDistribution.java
index 2627c33..a591b0f 100644
--- a/src/main/java/org/apache/commons/math4/distribution/ChiSquaredDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/ChiSquaredDistribution.java
@@ -173,16 +173,6 @@ public class ChiSquaredDistribution extends AbstractRealDistribution
{
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/ConstantRealDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/ConstantRealDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/ConstantRealDistribution.java
index 6149b31..7f1b8bd 100644
--- a/src/main/java/org/apache/commons/math4/distribution/ConstantRealDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/ConstantRealDistribution.java
@@ -89,16 +89,6 @@ public class ConstantRealDistribution extends AbstractRealDistribution
{
         return value;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return true;
-    }
-
     /**
      * {@inheritDoc}
      */

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/EnumeratedRealDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/EnumeratedRealDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/EnumeratedRealDistribution.java
index fabfe00..8e5e5f6 100644
--- a/src/main/java/org/apache/commons/math4/distribution/EnumeratedRealDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/EnumeratedRealDistribution.java
@@ -242,28 +242,6 @@ public class EnumeratedRealDistribution extends AbstractRealDistribution
{
     /**
      * {@inheritDoc}
      *
-     * The support of this distribution includes the lower bound.
-     *
-     * @return {@code true}
-     */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /**
-     * {@inheritDoc}
-     *
-     * The support of this distribution includes the upper bound.
-     *
-     * @return {@code true}
-     */
-    public boolean isSupportUpperBoundInclusive() {
-        return true;
-    }
-
-    /**
-     * {@inheritDoc}
-     *
      * The support of this distribution is connected.
      *
      * @return {@code true}

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/ExponentialDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/ExponentialDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/ExponentialDistribution.java
index abb9985..8b25680 100644
--- a/src/main/java/org/apache/commons/math4/distribution/ExponentialDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/ExponentialDistribution.java
@@ -328,16 +328,6 @@ public class ExponentialDistribution extends AbstractRealDistribution
{
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/FDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/FDistribution.java b/src/main/java/org/apache/commons/math4/distribution/FDistribution.java
index c34d45f..12e59dc 100644
--- a/src/main/java/org/apache/commons/math4/distribution/FDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/FDistribution.java
@@ -305,16 +305,6 @@ public class FDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java b/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
index daa9ef9..8709ce0 100644
--- a/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
@@ -385,16 +385,6 @@ public class GammaDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/GumbelDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/GumbelDistribution.java b/src/main/java/org/apache/commons/math4/distribution/GumbelDistribution.java
index 9ab0ef2..7d54ed8 100644
--- a/src/main/java/org/apache/commons/math4/distribution/GumbelDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/GumbelDistribution.java
@@ -149,16 +149,6 @@ public class GumbelDistribution extends AbstractRealDistribution {
     }
 
     /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
     public boolean isSupportConnected() {
         return true;
     }

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/LaplaceDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/LaplaceDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/LaplaceDistribution.java
index d3f21bb..1555f40 100644
--- a/src/main/java/org/apache/commons/math4/distribution/LaplaceDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/LaplaceDistribution.java
@@ -143,16 +143,6 @@ public class LaplaceDistribution extends AbstractRealDistribution {
     }
 
     /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
     public boolean isSupportConnected() {
         return true;
     }

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/LevyDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/LevyDistribution.java b/src/main/java/org/apache/commons/math4/distribution/LevyDistribution.java
index a2bbab1..0841562 100644
--- a/src/main/java/org/apache/commons/math4/distribution/LevyDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/LevyDistribution.java
@@ -172,19 +172,6 @@ public class LevyDistribution extends AbstractRealDistribution {
     }
 
     /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        // there is a division by x-mu in the computation, so density
-        // is not finite at lower bound, bound must be excluded
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        // upper bound is infinite, so it must be excluded
-        return false;
-    }
-
-    /** {@inheritDoc} */
     public boolean isSupportConnected() {
         return true;
     }

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/LogNormalDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/LogNormalDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/LogNormalDistribution.java
index ec43db5..1d246a2 100644
--- a/src/main/java/org/apache/commons/math4/distribution/LogNormalDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/LogNormalDistribution.java
@@ -336,16 +336,6 @@ public class LogNormalDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/LogisticDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/LogisticDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/LogisticDistribution.java
index ee29d3f..d996345 100644
--- a/src/main/java/org/apache/commons/math4/distribution/LogisticDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/LogisticDistribution.java
@@ -143,16 +143,6 @@ public class LogisticDistribution extends AbstractRealDistribution {
     }
 
     /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
     public boolean isSupportConnected() {
         return true;
     }

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/NakagamiDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/NakagamiDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/NakagamiDistribution.java
index 94f57df..7849bbd 100644
--- a/src/main/java/org/apache/commons/math4/distribution/NakagamiDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/NakagamiDistribution.java
@@ -171,16 +171,6 @@ public class NakagamiDistribution extends AbstractRealDistribution {
     }
 
     /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
     public boolean isSupportConnected() {
         return true;
     }

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/NormalDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/NormalDistribution.java b/src/main/java/org/apache/commons/math4/distribution/NormalDistribution.java
index e033223..efb828e 100644
--- a/src/main/java/org/apache/commons/math4/distribution/NormalDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/NormalDistribution.java
@@ -282,16 +282,6 @@ public class NormalDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/ParetoDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/ParetoDistribution.java b/src/main/java/org/apache/commons/math4/distribution/ParetoDistribution.java
index d788d95..8da23e7 100644
--- a/src/main/java/org/apache/commons/math4/distribution/ParetoDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/ParetoDistribution.java
@@ -288,16 +288,6 @@ public class ParetoDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      * <p>

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/RealDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/RealDistribution.java b/src/main/java/org/apache/commons/math4/distribution/RealDistribution.java
index d7b2499..d4ed518 100644
--- a/src/main/java/org/apache/commons/math4/distribution/RealDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/RealDistribution.java
@@ -136,32 +136,6 @@ public interface RealDistribution {
     double getSupportUpperBound();
 
     /**
-     * Whether or not the lower bound of support is in the domain of the density
-     * function.  Returns true iff {@code getSupporLowerBound()} is finite and
-     * {@code density(getSupportLowerBound())} returns a non-NaN, non-infinite
-     * value.
-     *
-     * @return true if the lower bound of support is finite and the density
-     * function returns a non-NaN, non-infinite value there
-     * @deprecated to be removed in 4.0
-     */
-    @Deprecated
-    boolean isSupportLowerBoundInclusive();
-
-    /**
-     * Whether or not the upper bound of support is in the domain of the density
-     * function.  Returns true iff {@code getSupportUpperBound()} is finite and
-     * {@code density(getSupportUpperBound())} returns a non-NaN, non-infinite
-     * value.
-     *
-     * @return true if the upper bound of support is finite and the density
-     * function returns a non-NaN, non-infinite value there
-     * @deprecated to be removed in 4.0
-     */
-    @Deprecated
-    boolean isSupportUpperBoundInclusive();
-
-    /**
      * Use this method to get information about whether the support is connected,
      * i.e. whether all values between the lower and upper bound of the support
      * are included in the support.

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/TDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/TDistribution.java b/src/main/java/org/apache/commons/math4/distribution/TDistribution.java
index 6aa15f0..70c6f7d 100644
--- a/src/main/java/org/apache/commons/math4/distribution/TDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/TDistribution.java
@@ -249,16 +249,6 @@ public class TDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return false;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/TriangularDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/TriangularDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/TriangularDistribution.java
index 5ac6800..0f2f833 100644
--- a/src/main/java/org/apache/commons/math4/distribution/TriangularDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/TriangularDistribution.java
@@ -241,16 +241,6 @@ public class TriangularDistribution extends AbstractRealDistribution
{
         return b;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return true;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/UniformRealDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/UniformRealDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/UniformRealDistribution.java
index 92913bd..9079894 100644
--- a/src/main/java/org/apache/commons/math4/distribution/UniformRealDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/UniformRealDistribution.java
@@ -213,16 +213,6 @@ public class UniformRealDistribution extends AbstractRealDistribution
{
         return upper;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return true;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/main/java/org/apache/commons/math4/distribution/WeibullDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/WeibullDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/WeibullDistribution.java
index 0cb6f11..8397ecb 100644
--- a/src/main/java/org/apache/commons/math4/distribution/WeibullDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/WeibullDistribution.java
@@ -329,16 +329,6 @@ public class WeibullDistribution extends AbstractRealDistribution {
         return Double.POSITIVE_INFINITY;
     }
 
-    /** {@inheritDoc} */
-    public boolean isSupportLowerBoundInclusive() {
-        return true;
-    }
-
-    /** {@inheritDoc} */
-    public boolean isSupportUpperBoundInclusive() {
-        return false;
-    }
-
     /**
      * {@inheritDoc}
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/test/java/org/apache/commons/math4/distribution/EnumeratedRealDistributionTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/distribution/EnumeratedRealDistributionTest.java
b/src/test/java/org/apache/commons/math4/distribution/EnumeratedRealDistributionTest.java
index af8aed3..9a02045 100644
--- a/src/test/java/org/apache/commons/math4/distribution/EnumeratedRealDistributionTest.java
+++ b/src/test/java/org/apache/commons/math4/distribution/EnumeratedRealDistributionTest.java
@@ -162,24 +162,6 @@ public class EnumeratedRealDistributionTest {
     }
 
     /**
-     * Tests if the distribution returns properly that the support includes the
-     * lower bound.
-     */
-    @Test
-    public void testIsSupportLowerBoundInclusive() {
-        Assert.assertTrue(testDistribution.isSupportLowerBoundInclusive());
-    }
-
-    /**
-     * Tests if the distribution returns properly that the support includes the
-     * upper bound.
-     */
-    @Test
-    public void testIsSupportUpperBoundInclusive() {
-        Assert.assertTrue(testDistribution.isSupportUpperBoundInclusive());
-    }
-
-    /**
      * Tests if the distribution returns properly that the support is connected.
      */
     @Test

http://git-wip-us.apache.org/repos/asf/commons-math/blob/ece7c6fc/src/test/java/org/apache/commons/math4/distribution/RealDistributionAbstractTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/distribution/RealDistributionAbstractTest.java
b/src/test/java/org/apache/commons/math4/distribution/RealDistributionAbstractTest.java
index 5d1af10..e6907bd 100644
--- a/src/test/java/org/apache/commons/math4/distribution/RealDistributionAbstractTest.java
+++ b/src/test/java/org/apache/commons/math4/distribution/RealDistributionAbstractTest.java
@@ -384,38 +384,6 @@ public abstract class RealDistributionAbstractTest {
         }
     }
     
-    /**
-     * Verify that isSupportLowerBoundInclusvie returns true iff the lower bound
-     * is finite and density is non-NaN, non-infinite there.
-     */
-    @Test
-    public void testIsSupportLowerBoundInclusive() {
-        final double lowerBound = distribution.getSupportLowerBound();
-        double result = Double.NaN;
-        result = distribution.density(lowerBound);
-        Assert.assertEquals(
-                !Double.isInfinite(lowerBound) && !Double.isNaN(result) &&
-                !Double.isInfinite(result),
-                distribution.isSupportLowerBoundInclusive());
-         
-    }
-    
-    /**
-     * Verify that isSupportUpperBoundInclusvie returns true iff the upper bound
-     * is finite and density is non-NaN, non-infinite there.
-     */
-    @Test
-    public void testIsSupportUpperBoundInclusive() {
-        final double upperBound = distribution.getSupportUpperBound();
-        double result = Double.NaN;
-        result = distribution.density(upperBound);
-        Assert.assertEquals(
-                !Double.isInfinite(upperBound) && !Double.isNaN(result) &&
-                !Double.isInfinite(result),
-                distribution.isSupportUpperBoundInclusive());
-         
-    }
-
     @Test
     public void testDistributionClone()
         throws IOException,


Mime
View raw message