checkstyle / checkstyle/contribution

Resolve violations of IDEA inspections 2020.1.1

Open
#606 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
57
Forks
168
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Violations: https://teamcity.jetbrains.com/buildConfiguration/Checkstyle_ContributionIdeaInspectionsPullRequest/3854536?buildTab=Inspection

Java/Abstraction issues
['public' method with 'boolean' parameter (Errors) (1)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/Code maturity
[Deprecated API usage (Errors) (1)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
[Use of System.out or System.err (Errors) (7)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/JUnit
[JUnit test method without any assertions (Errors) (25)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/Naming conventions/Method
[Method naming convention (Errors) (1)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/Performance
[StringBuilder without initial capacity (Errors) (1)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/Portability
[Call to 'System.exit()' or related methods (Errors) (1)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/Probable bugs
[Use of Properties object as a Hashtable (Errors) (6)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
Java/Resource management
[AutoCloseable used without 'try'-with-resources (Errors) (7)](https://teamcity.jetbrains.com/viewLog.html?tab=Inspection&buildId=3854536&embedded=true#)
I/O resource opened but not safely closed (4)
Java/Verbose or redundant code constructs
Stream API call chain can be simplified (2)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked TeamCity inspection report for build 3854536 and use its findings to locate the affected Java sources and tests. Address the listed inspection violations, including resource handling, assertions, deprecated APIs, and output calls, then rerun the inspection to confirm the violations are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.