Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Enums: Properties vs. Methods Date: Thu, 31 Mar 2011 08:54:39 -0400 Organization: albasani.net Lines: 10 Message-ID: References: <2f38bb8e-9a8d-4464-ad3d-b9ce0b557219@e21g2000yqe.googlegroups.com> <44ad2578-4baf-4fa9-81b6-3aaa6f458dc7@s11g2000yqh.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net ofHPZGUCrU4B6Tlhs0X9c/EzJ2E3MDiZsbTRFaRBVL3JmrUl1eN1pIVmOxpcUAuxuN5ETg6AwRKGGECwQUlgAQ== NNTP-Posting-Date: Thu, 31 Mar 2011 12:54:28 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="RjcNakCE7dET3QSeVqFqTCfG2kPYrzve0PMu+uDv4KreqN3j/zVypC5hIKJTh9rVms2Zlzu6ZzIqWPgxQ5KsroiZDIyAwaUGdKmh3tCs9137ZYsHpZVlQoFrrRAt+q6a"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 In-Reply-To: Cancel-Lock: sha1:0iQtXJIrLMOUMd+NjDmNfTEQ8fA= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2652 On 03/31/2011 08:52 AM, Lew wrote: > > Note that the compiler DOES replace the reference with a constant. Looks like > I was right after all. ^^^^^ Wrong after all. Sorry. Wrong example presented. Please forgive. -- Lew