#279 Unnecessary call to method

Dozer v5.3.0
closed-fixed
5
2010-09-16
2010-09-07
wujek
No

Hi. Here:
http://dozer.svn.sourceforge.net/viewvc/dozer/trunk/core/src/main/java/org/dozer/util/MappingValidator.java?revision=1070&view=markup
in lines 58-59 you can see the very same method called twice in a row, once for side effects only, then the second one stores the result (URL). Looks like the first call is unnecessary and could be deleted.

Discussion

  • dmitry (lv)

    dmitry (lv) - 2010-09-16

    the unnecessary statement was removed.

     
  • dmitry (lv)

    dmitry (lv) - 2010-09-16
    • milestone: --> Dozer v5.3.0
    • assigned_to: nobody --> buzdin
    • status: open --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks