Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: blmblm@myrealbox.com Newsgroups: comp.lang.java.programmer Subject: Re: problems with editable JList Date: 18 Feb 2014 12:46:49 GMT Organization: None Lines: 19 Message-ID: References: X-Trace: individual.net Qm80+nHhGWuJOMiX84AcfATzObgpRsEiwV7MWLdowXAKRXZLqY X-Orig-Path: not-for-mail Cancel-Lock: sha1:DL8HlunfzTPJ+EPQMtun71obd1Y= X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Xref: csiph.com comp.lang.java.programmer:27545 In article , Lew wrote: > Also, 'DEBUG' does not follow the Java naming conventions. > Wouldn't this comment make more sense if you quoted the single line that declares the variable in question? my first thought was "and why not? isn't the relevent convention that constants have all-caps names?" But then if I look at the code, um, well, that may have been my intent, but it's not what I wrote, is it? I should have also have declared it final, yes? Well, my only defense (such as it is) is that lately I've been writing a lot more Scala than Java, and it's surprising (to me anyway) how quickly one adopts new habits. -- B. L. Massingill ObDisclaimer: I don't speak for my employers; they return the favor.