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

refactor: remove unnecessary check from DataProviderMixin #7173

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Mar 5, 2024

Description

Making sure that the row's index doesn't exceed the flat size before requesting data for that row seems unnecessary, as (1) grid nowadays hides rows synchronously on flat size change, and (2) _getItem is only called for rows received from _getRenderedRows which throws away hidden rows.

Type of change

  • Refactor

Copy link

sonarqubecloud bot commented Mar 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@vursen vursen requested a review from tomivirkki March 5, 2024 16:17
@vursen vursen merged commit 3633c1a into main Mar 6, 2024
9 checks passed
@vursen vursen deleted the refactor/remove-obsolete-check branch March 6, 2024 06:26
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha10 and is also targeting the upcoming stable 24.4.0 version.

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

Successfully merging this pull request may close these issues.

3 participants