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:
parent
8019416d81
commit
ebe7bb58a5
|
@ -31,7 +31,11 @@ import java.util.Random;
|
|||
*
|
||||
* <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 {
|
||||
|
||||
/**
|
||||
|
|
|
@ -30,7 +30,11 @@ import org.apache.commons.lang3.StringUtils;
|
|||
* 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 {
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,6 +37,7 @@ import org.junit.Test;
|
|||
/**
|
||||
* Unit tests {@link org.apache.commons.lang3.RandomStringUtils}.
|
||||
*/
|
||||
@Deprecated
|
||||
public class RandomStringUtilsTest {
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.junit.Test;
|
|||
/**
|
||||
* Unit tests for WordUtils class.
|
||||
*/
|
||||
@Deprecated
|
||||
public class WordUtilsTest {
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue