You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/07/23 21:11:49 UTC

[commons-rng] 01/03: Remove final

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit e85d837a540a9d2e28c8a65a1366726580cc4a25
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri Jul 23 20:33:15 2021 +0100

    Remove final
---
 .../org/apache/commons/rng/sampling/distribution/StableSampler.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/StableSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/StableSampler.java
index 431811d..c217eef 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/StableSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/StableSampler.java
@@ -225,7 +225,7 @@ public abstract class StableSampler implements SharedStateContinuousSampler {
         /**
          * @param rng Underlying source of randomness
          */
-        BaseStableSampler(final UniformRandomProvider rng) {
+        BaseStableSampler(UniformRandomProvider rng) {
             super(rng);
             expSampler = ZigguratSampler.Exponential.of(rng);
         }
@@ -311,7 +311,7 @@ public abstract class StableSampler implements SharedStateContinuousSampler {
          * @param gamma Scale parameter. Must be strictly positive.
          * @param delta Location parameter.
          */
-        TransformedStableSampler(final StableSampler sampler, double gamma, double delta) {
+        TransformedStableSampler(StableSampler sampler, double gamma, double delta) {
             // No RNG required
             super(null);
             this.sampler = sampler;