Skip to content

LANG-1664: Fix javadoc (separator is a character, not a string)#779

Closed
oneiros-de wants to merge 1 commit intoapache:masterfrom
oneiros-de:LANG-1664
Closed

LANG-1664: Fix javadoc (separator is a character, not a string)#779
oneiros-de wants to merge 1 commit intoapache:masterfrom
oneiros-de:LANG-1664

Conversation

@oneiros-de
Copy link

Fix the javadoc for LANG-1664.

Copy link
Member

@garydgregory garydgregory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

*
* @param str the String to get a substring from, may be null
* @param separator the character to search.
* @param separator the character (Unicode code point) to search for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sentences should end in a period. Sentences feel quite awkward (to me) ending in a preposition.

*
* @param str the String to get a substring from, may be null
* @param separator the String to search for, may be null
* @param separator the character (Unicode code point) to search for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the documentation for null input?

*
* @param str the String to get a substring from, may be null
* @param separator the String to search for, may be null
* @param separator the character (Unicode code point) to search for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the documentation for null input?

@garydgregory
Copy link
Member

Closing, no action since July.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants