Skip to content

Conversation

@NathanQingyangXu
Copy link
Contributor

@NathanQingyangXu NathanQingyangXu commented Nov 3, 2024


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


Recently I am working on JDBC related stuff in MongoDB company. I found some (super) minor issues in our Javadocs JDBC related, including:

  • typo or grammatical defects
  • missing usage of {@link xxx} which would help end user to navigate

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Nov 3, 2024

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [4f31630, c982011]

› This message was automatically generated.

* Models size restrictions/requirements on a column's data type.
*
* @implNote Since we do not necessarily know the datatype up front, and therefore do not necessarily know
* @implNote Since we do not necessarily know the data type up front, and therefore do not necessarily know
Copy link
Contributor Author

Choose a reason for hiding this comment

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

found data type usage elsewhere so change to make it more consistent

@NathanQingyangXu NathanQingyangXu force-pushed the improve-javadoc-jdbc-related branch from aae43e0 to 762a1bf Compare November 4, 2024 01:36
Copy link
Member

@gavinking gavinking left a comment

Choose a reason for hiding this comment

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

I left some suggestions

@NathanQingyangXu
Copy link
Contributor Author

NathanQingyangXu commented Nov 5, 2024

@gavinking , I accepted your suggestions. Thanks for the excellent suggestions.

@NathanQingyangXu NathanQingyangXu force-pushed the improve-javadoc-jdbc-related branch from 9a56883 to 4f31630 Compare November 5, 2024 01:06
Copy link
Member

@gavinking gavinking left a comment

Choose a reason for hiding this comment

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

@NathanQingyangXu One more very minor thing: I generally try to avoid adding imports just for types used only in the javadoc.

Maybe that's silly, but it's what I've been doing.

@NathanQingyangXu
Copy link
Contributor Author

@NathanQingyangXu One more very minor thing: I generally try to avoid adding imports just for types used only in the javadoc.

Maybe that's silly, but it's what I've been doing.

that is a good point. I changed and pushed, but only later on I found your commit suggestion.

@gavinking gavinking merged commit 019cbf5 into hibernate:main Nov 8, 2024
19 of 22 checks passed
@gavinking
Copy link
Member

Thanks, @NathanQingyangXu !

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