Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep record style at the CursoredPage #552

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

otaviojava
Copy link
Contributor

No description provided.

@otaviojava otaviojava merged commit 3c3165f into main Mar 17, 2024
3 checks passed
@otaviojava otaviojava deleted the keep-record-style-curored-page branch March 17, 2024 16:43
Copy link
Contributor

@njr-11 njr-11 left a comment

Choose a reason for hiding this comment

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

I noticed this is already merged, but please see my review comment,

@@ -154,7 +154,7 @@ public interface CursoredPage<T> extends Page<T> {
* @param index position (0 is first) of a result on the page.
* @return cursor for key values at the specified position.
*/
PageRequest.Cursor getCursor(int index);
PageRequest.Cursor cursor(int index);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not a record style accessor. It accepts a parameter value.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is a good point, but it still accesses info.

IMHO: It should keep without "get" as the other ones.

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.

3 participants