Commit 4086767
authored
[TASK] Update
`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 #974RuleSet::comparePositionable to use new methods (#1283)1 parent 43a3735 commit 4086767
1 file changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
332 | | - | |
333 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
334 | 341 | | |
335 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
336 | 356 | | |
337 | 357 | | |
338 | 358 | | |
| |||
0 commit comments