LANG-1346: Remove deprecation from RandomStringUtils

This commit is contained in:
pascalschumacher 2017-07-28 17:06:36 +02:00
parent fdccdeaec5
commit f2d8493ac4
3 changed files with 6 additions and 6 deletions

View File

@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
<body> <body>
<release version="3.7" date="tba" description="tba"> <release version="3.7" date="tba" description="tba">
<action issue="LANG-1346" type="update" dev="pschumacher">Remove deprecation from RandomStringUtils</action>
</release> </release>
<release version="3.6" date="2017-06-08" description="New features and bug fixes. Requires Java 7."> <release version="3.6" date="2017-06-08" description="New features and bug fixes. Requires Java 7.">

View File

@ -28,14 +28,14 @@ import java.util.Random;
* then it is followed by a low surrogate. If a low surrogate is chosen, * then it is followed by a low surrogate. If a low surrogate is chosen,
* 56320 (dc00) to 57343 (dfff) then it is placed after a randomly * 56320 (dc00) to 57343 (dfff) then it is placed after a randomly
* chosen high surrogate.</p> * chosen high surrogate.</p>
* <p>RandomStringUtils is intended for simple use cases. For more advanced
* use cases consider using commons-text
* <a href="https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/RandomStringGenerator.html">
* RandomStringGenerator</a> instead.</p>
* *
* <p>#ThreadSafe#</p> * <p>#ThreadSafe#</p>
* @since 1.0 * @since 1.0
* @deprecated as of 3.6, use commons-text
* <a href="https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/RandomStringGenerator.html">
* RandomStringGenerator</a> instead
*/ */
@Deprecated
public class RandomStringUtils { public class RandomStringUtils {
/** /**

View File

@ -37,7 +37,6 @@ import org.junit.Test;
/** /**
* Unit tests {@link org.apache.commons.lang3.RandomStringUtils}. * Unit tests {@link org.apache.commons.lang3.RandomStringUtils}.
*/ */
@Deprecated
public class RandomStringUtilsTest { public class RandomStringUtilsTest {
//----------------------------------------------------------------------- //-----------------------------------------------------------------------