Menu

#1154 Call super onPause when there is no super

PMD-5.1.0
closed
None
Eclipse
3-Major
Bug
Eclipse plugin 4.0.2
2014-02-01
2013-11-24
Nas Kavian
No

I have a Java class in an android project that has a method named onPause and onResume.

This class does not have a parent class and only performs helper work.

But, PMD complains that I should call super.. (CallSuperFirst, CallSuperLast)

I don't want to disable the rule because of this bug.

Discussion

  • Andreas Dangel

    Andreas Dangel - 2014-02-01
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-5.1.0
     
  • Andreas Dangel

    Andreas Dangel - 2014-02-01

    This will be fixed with PMD 5.1 - the eclipse plugin needs to be upgraded to use PMD 5.1 once it is released.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.