Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix Javadoc parameter name in allowedInNamespace and `allowedInValu…
…e` methods
  • Loading branch information
NonSwag committed Aug 12, 2025
commit 3a57066a21861c0ffc54b03cb480588a2696d3a9
8 changes: 4 additions & 4 deletions key/src/main/java/net/kyori/adventure/key/Key.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,21 +236,21 @@ static boolean allowedInKey(final char character) {
}

/**
* Checks if {@code value} is a valid character in a namespace.
* Checks if {@code character} is a valid character in a namespace.
*
* @param character the character to check
* @return {@code true} if {@code value} is a valid character in a namespace, {@code false} otherwise
* @return {@code true} if {@code character} is a valid character in a namespace, {@code false} otherwise
* @since 4.12.0
*/
static boolean allowedInNamespace(final char character) {
return KeyImpl.allowedInNamespace(character);
}

/**
* Checks if {@code value} is a valid character in a value.
* Checks if {@code character} is a valid character in a value.
*
* @param character the character to check
* @return {@code true} if {@code value} is a valid character in a value, {@code false} otherwise
* @return {@code true} if {@code character} is a valid character in a value, {@code false} otherwise
* @since 4.12.0
*/
static boolean allowedInValue(final char character) {
Expand Down