From d9979fa97865b7a57b9da975efb6e6c4d80b0cc8 Mon Sep 17 00:00:00 2001 From: Gilles Date: Mon, 29 May 2017 02:32:40 +0200 Subject: [PATCH] Implementation details should not be "public". --- .../commons/math4/distribution/PoissonDistribution.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/math4/distribution/PoissonDistribution.java b/src/main/java/org/apache/commons/math4/distribution/PoissonDistribution.java index c74216f10..87cd7ce86 100644 --- a/src/main/java/org/apache/commons/math4/distribution/PoissonDistribution.java +++ b/src/main/java/org/apache/commons/math4/distribution/PoissonDistribution.java @@ -36,12 +36,12 @@ public class PoissonDistribution extends AbstractIntegerDistribution { * Default maximum number of iterations for cumulative probability calculations. * @since 2.1 */ - public static final int DEFAULT_MAX_ITERATIONS = 10000000; + private static final int DEFAULT_MAX_ITERATIONS = 10000000; /** * Default convergence criterion. * @since 2.1 */ - public static final double DEFAULT_EPSILON = 1e-12; + private static final double DEFAULT_EPSILON = 1e-12; /** Serializable version identifier. */ private static final long serialVersionUID = -3349935121172596109L; /** Distribution used to compute normal approximation. */