LANG-1316: Deprecate classes/methods moved to commons-text

Deprecated WordUtils and RandomStringUtils now that commons-text 1.1 was released.
This commit is contained in:
pascalschumacher 2017-05-25 14:49:46 +02:00
parent 8019416d81
commit ebe7bb58a5
4 changed files with 10 additions and 0 deletions

View File

@ -31,7 +31,11 @@
*
* <p>#ThreadSafe#</p>
* @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 {
/**

View File

@ -30,7 +30,11 @@
* Each method documents its behaviour in more detail.</p>
*
* @since 2.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/WordUtils.html">
* WordUtils</a> instead
*/
@Deprecated
public class WordUtils {
/**

View File

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

View File

@ -29,6 +29,7 @@
/**
* Unit tests for WordUtils class.
*/
@Deprecated
public class WordUtilsTest {
//-----------------------------------------------------------------------