You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/08/23 13:20:33 UTC

[commons-lang] branch master updated: LANG-1604 (#942)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4a9662e5e LANG-1604 (#942)
4a9662e5e is described below

commit 4a9662e5e3d2d36d63c924e99fe9391b7b7df714
Author: Bohachov Maksym <70...@users.noreply.github.com>
AuthorDate: Tue Aug 23 16:20:27 2022 +0300

    LANG-1604 (#942)
    
    * LANG-1604: Deprecate RandomUtils class
    
    * LANG-1604: Added URL for favored implementation
    
    * LANG-1604: Deprecate RandomUtils class
    
    * LANG-1604: Added URL for favored implementation
    
    * LANG-1604: Fixed formatting
    
    * LANG-1604: Fixed formatting
    
    * LANG-1604: Fixed formatting
    
    * Update RandomUtils.java
    
    Co-authored-by: Gary Gregory <ga...@users.noreply.github.com>
---
 src/main/java/org/apache/commons/lang3/RandomUtils.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/commons/lang3/RandomUtils.java b/src/main/java/org/apache/commons/lang3/RandomUtils.java
index e77c12fea..48670f7a9 100644
--- a/src/main/java/org/apache/commons/lang3/RandomUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomUtils.java
@@ -30,8 +30,10 @@ import java.util.concurrent.ThreadLocalRandom;
  * a better choice for applications with more stringent requirements
  * (performance and/or correctness).</p>
  *
+ * @deprecated Use Apache Commons RNG's optimized <a href="https://commons.apache.org/proper/commons-rng/commons-rng-client-api/apidocs/org/apache/commons/rng/UniformRandomProvider.html">UniformRandomProvider</a>
  * @since 3.3
  */
+@Deprecated
 public class RandomUtils {
 
     /**