Skip to content

[TASK] Update RuleSet::comparePositionable to use new methods #1283

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

Merged
merged 2 commits into from
Jun 24, 2025

Conversation

JakeQZ
Copy link
Collaborator

@JakeQZ JakeQZ commented Jun 23, 2025

getLineNo and getColNo are deprecated. When the titled method was extracted, use of the above-mentioned methods was
retained to ease backporting and transition to their replacement counterparts: getLineNumber and getColumnNumber, which differ by returning null in the case of 'not set'.

This replaces all instances of calls to getColNo.

Part of #974

@JakeQZ JakeQZ requested a review from oliverklee June 23, 2025 00:41
@JakeQZ JakeQZ self-assigned this Jun 23, 2025
@JakeQZ JakeQZ added cleanup deprecation A method, property, or some functionality has been deprecated. labels Jun 23, 2025
@coveralls
Copy link

coveralls commented Jun 23, 2025

Coverage Status

coverage: 58.049% (-0.05%) from 58.102%
when pulling d298962 on task/getcolno
into b961840 on main.

`getLineNo` and `getColNo` are deprecated.
When the titled method was extracted, use of the above-mentioned methods was
retained to ease backporting and transition to their replacement counterparts:
`getLineNumber` and `getColumnNumber`,
which differ by returning `null` in the case of 'not set'.

This replaces all instances of calls to `getColNo`.

Part of #974
@JakeQZ JakeQZ requested a review from oliverklee June 23, 2025 22:21
@JakeQZ JakeQZ added the refactor For PRs that refactor code without changing functionality label Jun 23, 2025
@oliverklee oliverklee merged commit 4086767 into main Jun 24, 2025
21 checks passed
@oliverklee oliverklee deleted the task/getcolno branch June 24, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup deprecation A method, property, or some functionality has been deprecated. refactor For PRs that refactor code without changing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants