Menu

#1146 UseArrayListInsteadOfVector false positive when using own Vector class

PMD-5.1.0
closed
None
PMD
3-Major
Bug
2014-02-02
2013-10-30
No

e.g. you need an euclidean vector class in your application and call it com.mycompany.myproject.Vector

when instantiating it, UseArrayListInsteadOfVector throws a false positive. UseArrayListInsteadOfVector should only indicate an error on java.util.Vector

Discussion

  • Sebastian Dietrich

    this also affects LooseCoupling whe returning a com.mycompany.myroject.Vector from a method it throws a false positive

     
  • Andreas Dangel

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

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.