Skip to content

Commit

Permalink
fix javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
XenoAmess committed Jul 21, 2020
1 parent d36a5fa commit 88d6408
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Expand Up @@ -338,7 +338,7 @@ public TextStringBuilder() {
* @param length The length of the subarray to be used; must be non-negative and no larger than
* {@code initialBuffer.length}. The new builder's size will be set to {@code length}.
* @throws NullPointerException If {@code initialBuffer} is null.
* @throws IllegalArgumentException if {@length} is bad.
* @throws IllegalArgumentException if {@code length} is bad.
*/
private TextStringBuilder(final char[] initialBuffer, final int length) {
this.buffer = Objects.requireNonNull(initialBuffer, "initialBuffer");
Expand Down
Expand Up @@ -32,12 +32,12 @@ final class InetAddressKeys {
static final String KEY_ADDRESS = "address";

/**
* Constants for referring to {@link InetAddress#getCanonicalAddress()}.
* Constants for referring to {@link InetAddress#getCanonicalHostName()}.
*/
static final String KEY_CANONICAL_NAME = "canonical-name";

/**
* Constants for referring to {@link InetAddress#getName()}.
* Constants for referring to {@link InetAddress#getHostName()}.
*/
static final String KEY_NAME = "name";

Expand Down
Expand Up @@ -114,7 +114,7 @@ static final class CharArrayMatcher extends AbstractStringMatcher {
/**
* Constructs a matcher from a String.
*
* @param str the string to match, must not be null
* @param chars the string to match, must not be null
*/
CharArrayMatcher(final char... chars) {
super();
Expand Down
Expand Up @@ -337,7 +337,7 @@ public void testEscapeJavaWithSlash() {
final String expected = input;
final String actual = StringEscapeUtils.escapeJava(input);

/**
/*
* In 2.4 StringEscapeUtils.escapeJava(String) escapes '/' characters, which are not a valid character
* to escape in a Java string.
*/
Expand Down

0 comments on commit 88d6408

Please sign in to comment.