Skip to content

Conversation

@joanvr
Copy link
Contributor

@joanvr joanvr commented Oct 19, 2023

What's changed?

There was a lot of missing scenarios on the tests that were causing bugs (wrong format of last lines, first lines, even index out of bounds on some very rare scenarios).
Added all the missing combinations of [param, return, throws], [regular, singleLine, firstLine], [withSpace, noSpace].
Fixed the bugs not originally covered with the new tests.

What's your motivation?

Fixes https://github.com/moderneinc/support-app/issues/14 and hopefully all other bugs in this recipe.

Anyone you would like to review specifically?

@timtebeek @knutwannheden

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've added the license header to any new files through ./gradlew licenseFormat
  • I've used the IntelliJ IDEA auto-formatter on affected files

@joanvr joanvr added the bug Something isn't working label Oct 19, 2023
@joanvr joanvr self-assigned this Oct 19, 2023
Copy link
Member

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

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

Nice! I'd briefly explored this previously, but indeed found the code hard to follow. Glad that's sorted now.

@joanvr joanvr merged commit 3fcd931 into main Oct 19, 2023
@joanvr joanvr deleted the fix/remove-empty-java-doc-parameters branch October 19, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants