Link to Apache Commons Text instead of deprecated methods.
This commit is contained in:
parent
c45f0b8a5b
commit
4cea07b48f
83
pom.xml
83
pom.xml
|
@ -559,13 +559,20 @@
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- For Javadoc links -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-text</artifactId>
|
||||||
|
<version>1.9</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjdk.jmh</groupId>
|
<groupId>org.openjdk.jmh</groupId>
|
||||||
<artifactId>jmh-core</artifactId>
|
<artifactId>jmh-core</artifactId>
|
||||||
<version>${jmh.version}</version>
|
<version>${jmh.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjdk.jmh</groupId>
|
<groupId>org.openjdk.jmh</groupId>
|
||||||
<artifactId>jmh-generator-annprocess</artifactId>
|
<artifactId>jmh-generator-annprocess</artifactId>
|
||||||
|
@ -674,32 +681,34 @@
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${maven.compiler.source}</source>
|
<source>${maven.compiler.source}</source>
|
||||||
<quiet>true</quiet>
|
<quiet>true</quiet>
|
||||||
<notimestamp>true</notimestamp>
|
<notimestamp>true</notimestamp>
|
||||||
<links>
|
<links>
|
||||||
<link>https://docs.oracle.com/javase/8/docs/api/</link>
|
<link>https://commons.apache.org/proper/commons-text/apidocs</link>
|
||||||
<link>http://docs.oracle.com/javaee/6/api/</link>
|
<link>https://docs.oracle.com/javase/8/docs/api</link>
|
||||||
</links>
|
<link>https://docs.oracle.com/javaee/6/api</link>
|
||||||
<archive>
|
</links>
|
||||||
<manifest>
|
<validateLinks>true</validateLinks>
|
||||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
<archive>
|
||||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
<manifest>
|
||||||
</manifest>
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||||
</archive>
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||||
</configuration>
|
</manifest>
|
||||||
<executions>
|
</archive>
|
||||||
<execution>
|
</configuration>
|
||||||
<id>create-javadoc-jar</id>
|
<executions>
|
||||||
<goals>
|
<execution>
|
||||||
<goal>javadoc</goal>
|
<id>create-javadoc-jar</id>
|
||||||
<goal>jar</goal>
|
<goals>
|
||||||
</goals>
|
<goal>javadoc</goal>
|
||||||
<phase>package</phase>
|
<goal>jar</goal>
|
||||||
</execution>
|
</goals>
|
||||||
</executions>
|
<phase>package</phase>
|
||||||
</plugin>
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
@ -803,6 +812,26 @@
|
||||||
|
|
||||||
<reporting>
|
<reporting>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>${maven.compiler.source}</source>
|
||||||
|
<quiet>true</quiet>
|
||||||
|
<notimestamp>true</notimestamp>
|
||||||
|
<links>
|
||||||
|
<link>https://commons.apache.org/proper/commons-text/apidocs</link>
|
||||||
|
<link>https://docs.oracle.com/javase/8/docs/api</link>
|
||||||
|
<link>https://docs.oracle.com/javaee/6/api</link>
|
||||||
|
</links>
|
||||||
|
<validateLinks>true</validateLinks>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||||
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>${checkstyle.plugin.version}</version>
|
<version>${checkstyle.plugin.version}</version>
|
||||||
|
|
|
@ -522,7 +522,7 @@ public class StringUtils {
|
||||||
* <p>Capitalizes a String changing the first character to title case as
|
* <p>Capitalizes a String changing the first character to title case as
|
||||||
* per {@link Character#toTitleCase(int)}. No other characters are changed.</p>
|
* per {@link Character#toTitleCase(int)}. No other characters are changed.</p>
|
||||||
*
|
*
|
||||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang3.text.WordUtils#capitalize(String)}.
|
* <p>For a word based algorithm, see {@link org.apache.commons.text.WordUtils#capitalize(String)}.
|
||||||
* A {@code null} input String returns {@code null}.</p>
|
* A {@code null} input String returns {@code null}.</p>
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
|
@ -535,7 +535,7 @@ public class StringUtils {
|
||||||
*
|
*
|
||||||
* @param str the String to capitalize, may be null
|
* @param str the String to capitalize, may be null
|
||||||
* @return the capitalized String, {@code null} if null String input
|
* @return the capitalized String, {@code null} if null String input
|
||||||
* @see org.apache.commons.lang3.text.WordUtils#capitalize(String)
|
* @see org.apache.commons.text.WordUtils#capitalize(String)
|
||||||
* @see #uncapitalize(String)
|
* @see #uncapitalize(String)
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
|
@ -8941,7 +8941,7 @@ public class StringUtils {
|
||||||
* <li>Lower case character converts to Upper case</li>
|
* <li>Lower case character converts to Upper case</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang3.text.WordUtils#swapCase(String)}.
|
* <p>For a word based algorithm, see {@link org.apache.commons.text.WordUtils#swapCase(String)}.
|
||||||
* A {@code null} input String returns {@code null}.</p>
|
* A {@code null} input String returns {@code null}.</p>
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
|
@ -9278,7 +9278,7 @@ public class StringUtils {
|
||||||
* <p>Uncapitalizes a String, changing the first character to lower case as
|
* <p>Uncapitalizes a String, changing the first character to lower case as
|
||||||
* per {@link Character#toLowerCase(int)}. No other characters are changed.</p>
|
* per {@link Character#toLowerCase(int)}. No other characters are changed.</p>
|
||||||
*
|
*
|
||||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang3.text.WordUtils#uncapitalize(String)}.
|
* <p>For a word based algorithm, see {@link org.apache.commons.text.WordUtils#uncapitalize(String)}.
|
||||||
* A {@code null} input String returns {@code null}.</p>
|
* A {@code null} input String returns {@code null}.</p>
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
|
@ -9291,7 +9291,7 @@ public class StringUtils {
|
||||||
*
|
*
|
||||||
* @param str the String to uncapitalize, may be null
|
* @param str the String to uncapitalize, may be null
|
||||||
* @return the uncapitalized String, {@code null} if null String input
|
* @return the uncapitalized String, {@code null} if null String input
|
||||||
* @see org.apache.commons.lang3.text.WordUtils#uncapitalize(String)
|
* @see org.apache.commons.text.WordUtils#uncapitalize(String)
|
||||||
* @see #capitalize(String)
|
* @see #capitalize(String)
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue