checkstyle / checkstyle/checkstyle

Remove deprecated api method FileContents::inPackageInfo from code

Open
#11,723 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.6k
Forks
4.2k
Avg merge
22h 35m
Merged PRs (30d)
236

Description

deprecafed in 10.2 (april 2022) https://github.com/checkstyle/checkstyle/commit/f6a15cfb3c3c64d16c269bd8240722c7f9d7974e#diff-0910ced16436543c1477e7a3528483b46612a86971ff771893e89700f85dfb3dR335

deprecation issue - https://github.com/checkstyle/checkstyle/issues/11507

We need to find some major version update time, and remove such methods from our API.
We need to recheck plugins(maven, eclipse-cs, sonar, ...... gradle, idea.....) if they need to be updated or notify/help them to upgrade.

issue is created based on conversation :
https://github.com/checkstyle/checkstyle/pull/11639

Contributor guide

Open the contributing guide

Research direction

Start with FileContents::inPackageInfo and the deprecation commit linked in the issue, then read issue #11507 and pull request #11639 for the surrounding context. Check the Maven, Eclipse CS, Sonar, Gradle, and IDEA plugin integrations mentioned in the issue; done means the deprecated method is removed and affected plugins are rechecked or notified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.