Skip to content

[java] UseObjectForClearerAPI flags private methods #1760

@adangel

Description

@adangel

Affects PMD Version: 6.13.0

Rule: UseObjectForClearerAPI

Description:

The rule description says, it's about public method. But the rule also flags private methods.

Code Sample demonstrating the issue:

private void connectPrivate(String username,
    String pssd,
    String databaseName,
    String databaseAdress)
  {
  }

See PR #1752

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:false-positivePMD flags a piece of code that is not problematic

    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