Menu

#2346 Eclipse warnings (some are errors)

Core
closed-fixed
Technical (124)
9
2010-03-30
2010-03-15
Carlos Ruiz
No

Found some eclipse warnings and bugs:

WARNING -> The static method ___ from the type ___ should be accessed in a static way

ERROR? -> The method ___ does not override the inherited method from ___ since it is private to a different package

ERROR -> Null pointer access: The variable ___ can only be null at this location

WARNING -> The argument of type null should explicitly be cast to ___ for the invocation of the ____ method ___ from type ___

WARNING -> The assignment to variable ___ has no effect

WARNING -> The serializable class ___ does not declare a static final serialVersionUID

Regards,

Carlos Ruiz

Discussion

  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15

    Committed revision 11666
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11666&view=rev
    To fix Eclipse warnings -> ERROR -> Null pointer access: The variable ___ can only be null at this location

    Work in progress ...

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15
    • assigned_to: nobody --> globalqss
     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15

    Committed revision 11667
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11667&view=rev

    To fix Eclipse warnings -> WARNING -> The argument of type null should explicitly be cast to ___ for the invocation of the ____ method ___ from type ___

    Work in progress ...

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15

    Committed revision 11668
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11668&view=rev
    To fix WARNING -> The assignment to variable ___ has no effect

    Work in progress ...

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15

    Committed revision 11669
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11669&view=rev
    To fix WARNING -> The serializable class ___ does not declare a static final serialVersionUID / organize imports

    Work in progress ...

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15

    Committed revision 11670
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11670&view=rev
    Fix Eclipse warnings -> WARNING -> The static method ___ from the type ___ should be accessed in a static way / ABP refactor to use M classes instead of X_

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15
    • status: open --> pending-fixed
     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-15

    Closing this one, solved 5/6 of the problems reported here.

    Just one warning open:

    /adempiereRelease/base/src/org/adempiere/plaf
    AdempiereTabbedPaneUI.java -> line 1298
    The method AdempiereTabbedPaneUI.requestFocusForVisibleComponent() does not override the inherited method from BasicTabbedPaneUI since it is private to a different package

    I guess is harmless but better if peer reviewed by others.

    Regards,

    Carlos Ruiz

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.