Re: Eclipse, Java 1.5 and Enum ?

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Fri Nov 16 2007 - 18:06:09 EST

  • Next message: Chuck Hill: "Re: Eclipse, Java 1.5 and Enum ?"

    On 17/11/2007, at 9:11 AM, James Cicenia wrote:

    > I am trying to build my code on this great new Eclipse/MacBookPro
    > platform and I came upon an issue with my Enumeration.
    >
    > It seems like Eclipse doesn't like the old way and demands to be
    > written the new way. However, my deployment will not have Java 1.5
    > but 1.4.
    >
    > What should I do here?

    Let me guess... you're doing this:
    Enumeration enum = ....

    Do: Enumeration en = ...

    enum is a keyword in 1.5

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Fri Nov 16 2007 - 18:07:36 EST