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>
|
||||
</dependency>
|
||||
|
||||
<!-- For Javadoc links -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-text</artifactId>
|
||||
<version>1.9</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jmh</groupId>
|
||||
<artifactId>jmh-core</artifactId>
|
||||
<version>${jmh.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jmh</groupId>
|
||||
<artifactId>jmh-generator-annprocess</artifactId>
|
||||
|
@ -674,32 +681,34 @@
|
|||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<quiet>true</quiet>
|
||||
<notimestamp>true</notimestamp>
|
||||
<links>
|
||||
<link>https://docs.oracle.com/javase/8/docs/api/</link>
|
||||
<link>http://docs.oracle.com/javaee/6/api/</link>
|
||||
</links>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>create-javadoc-jar</id>
|
||||
<goals>
|
||||
<goal>javadoc</goal>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<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>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>create-javadoc-jar</id>
|
||||
<goals>
|
||||
<goal>javadoc</goal>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
|
@ -803,6 +812,26 @@
|
|||
|
||||
<reporting>
|
||||
<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>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle.plugin.version}</version>
|
||||
|
|
|
@ -522,7 +522,7 @@ public class StringUtils {
|
|||
* <p>Capitalizes a String changing the first character to title case as
|
||||
* 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>
|
||||
*
|
||||
* <pre>
|
||||
|
@ -535,7 +535,7 @@ public class StringUtils {
|
|||
*
|
||||
* @param str the String to capitalize, may be null
|
||||
* @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)
|
||||
* @since 2.0
|
||||
*/
|
||||
|
@ -8941,7 +8941,7 @@ public class StringUtils {
|
|||
* <li>Lower case character converts to Upper case</li>
|
||||
* </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>
|
||||
*
|
||||
* <pre>
|
||||
|
@ -9278,7 +9278,7 @@ public class StringUtils {
|
|||
* <p>Uncapitalizes a String, changing the first character to lower case as
|
||||
* 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>
|
||||
*
|
||||
* <pre>
|
||||
|
@ -9291,7 +9291,7 @@ public class StringUtils {
|
|||
*
|
||||
* @param str the String to uncapitalize, may be null
|
||||
* @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)
|
||||
* @since 2.0
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue