Re: Cleaning up the code [Was: Re: Cayenne/Windows developer help]

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Mar 03 2006 - 09:40:30 EST

  • Next message: Bill Dudney: "jpa tests?"

    On Mar 3, 2006, at 5:08 PM, Gentry, Michael ((Contractor)) wrote:
    > I'm more interested in 0 warnings, personally. I got rid of ~100 of
    > them last night, still over 500 to go, though. I'm tackling the
    > easier
    > ones first. I did notice a few places where deprecated methods are
    > still being used. I don't think we should be calling methods we've
    > deprecated. Others using Cayenne might want/need to do that, but
    > internally I think we should avoid it.
    >
    > Thoughts?

    I think the easiest solution will be to setup warnings in Eclipse
    preferences per project. For instance I suspect your levels are set
    way too high. I do see a few warnings, but definitely not 500.

    > I don't think we should be calling methods we've
    > deprecated.

    Agreed. I think we only have a few of those (considering that calling
    a deprecated method or class from within another deprecated method is
    acceptable).

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Mar 03 2006 - 09:40:33 EST