#1005 False + for ConstructorCallsOverridableMethod - overloaded methods

PMD-5.0.3
closed
pmd (542)
PMD
3-Major
Bug
2013-04-05
2012-05-07
No

If the constructor calls a final method, and there is a method with the same name as the final method but different signature, PMD will nevertheless claim that "ConstructorCallsOverridableMethod". This could propably be a bug.

PMD 4.3 with Sonar 2.14.

See attached simplified example (source code file).

If you need any additional information, I will be happy to provide as mucha s I can.

Discussion

  • Andreas Dangel

    Andreas Dangel - 2013-03-13
    • summary: ConstructorCallsOverridableMethod --> False + for ConstructorCallsOverridableMethod - overloaded methods
    • status: open --> in-progress
    • assigned_to: Tom Copeland --> Andreas Dangel
    • module: --> PMD
    • milestone: --> PMD-5.0.3
    • priority: 5 --> 3-Major
    • type: --> Bug
    • affects_version: -->
     
  • Andreas Dangel

    Andreas Dangel - 2013-03-14
    • status: in-progress --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks