SonarQube Java
  1. SonarQube Java
  2. SONARJAVA-117

Rule "Unused private method" should not log violation on method having the @PostConstruct and @PreDestroy annotations

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Squid
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The @PostConstruct and @PreDestroy annotations should be taken into account when checking for unused private methods.

      javax.annotation.PostConstruct;
      javax.annotation.PreDestroy;

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              François Dumont
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: