8000 [java] New rule: AvoidOutdatedUsage - Use modern Java collections API (toList() instead of collect(Collectors.toList())) · Issue #5723 · pmd/pmd · GitHub
[go: up one dir, main page]

Skip to content
[java] New rule: AvoidOutdatedUsage - Use modern Java collections API (toList() instead of collect(Collectors.toList())) #5723
@Pankraz76

Description

@Pankraz76

AvoidOutdatedUsage: Use modern Java collections API (toList() instead of collect(Collectors.toList()))

  • Use modern Java collections API (toList() instead of collect(Collectors.toList()))
Image

without being type-aware

checkstyle/checkstyle#17000 (comment)
PMD is type-aware so this could be done here, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:new-ruleProposal to add a new built-in rule

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0