Skip to content

Resolve IDEA violations from Teamcity 2022.04 (Bundled IntelliJ IDEA 2021.2.3) #11566

@pbludov

Description

@pbludov

Link to the report: https://teamcity.jetbrains.com/viewLog.html?buildId=3844938&tab=Inspection&buildTypeId=Checkstyle_IdeaInspectionsPullRequest#

Mostly Grammar and http links, but other violations should be fixed.

General

  • Redundant suppression (Errors) (12)
  • Syntax error (Errors) (2)

Java/Abstraction issues

  • Private method only used from inner class (Errors) (1)

Java/Code maturity

  • Commented out code (2)
  • Deprecated member is still used (2)

Java/Code style issues

  • 'if' statement can be replaced with conditional or boolean expression (Errors) (4)

Java/Data flow

  • Scope of variable is too broad (Errors) (2)
  • Java/Java language level migration aids/Java 9
  • Null check can be replaced with method call (4)

Java/JUnit

  • JUnit test method without any assertions (Errors) (8)

Java/Memory

  • Static collection (73)

Java/Performance

  • Call to 'set.removeAll(list)' may work slowly (2)

Java/Probable bugs

  • Result of method call ignored (1)

Java/Threading issues

  • 'synchronized' method (1)

Java/Verbose or redundant code constructs

  • Redundant String operation (2)
  • Redundant usage of unmodifiable collection wrappers (2)

JavaScript and TypeScript/Potentially undesirable code constructs

  • Anonymous function (Errors) (7)

Proofreading

  • Grammar (379)

RegExp

  • Duplicate character in character class (2)

Security

  • Link with unencrypted protocol (64)

YAML

  • Validation by JSON Schema (10)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions