Yang Jie created SPARK-44697:
--------------------------------

             Summary: Clean up the usage of org.apache.commons.lang3.RandomUtils
                 Key: SPARK-44697
                 URL: https://issues.apache.org/jira/browse/SPARK-44697
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Yang Jie


{code:java}
/**
 * Utility library that supplements the standard {@link Random} class.
 *
 * <p>Caveat: Instances of {@link Random} are not cryptographically secure.</p>
 *
 * <p>Please note that the Apache Commons project provides a component
 * dedicated to pseudo-random number generation, namely
 * <a href="https://commons.apache.org/proper/commons-rng/";>Commons RNG</a>, 
that may be
 * 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 { {code}
In {{commons-lang3}} 3.13.0, {{RandomUtils}} has been marked as {{@Deprecated}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to