Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 2879 invoked from network); 3 Oct 2006 23:58:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 23:58:40 -0000 Received: (qmail 15814 invoked by uid 500); 3 Oct 2006 23:58:34 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 15771 invoked by uid 500); 3 Oct 2006 23:58:33 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 15760 invoked by uid 99); 3 Oct 2006 23:58:33 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 16:58:33 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=nbeyer@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.82.229] ([66.249.82.229:32812] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 5A/65-00170-829F2254 for ; Tue, 03 Oct 2006 16:58:33 -0700 Received: by wx-out-0506.google.com with SMTP id s13so2299017wxc for ; Tue, 03 Oct 2006 16:58:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MLe4uDmSfSNIzmTBYUxoysQONbH1mlTMJHcg4jaBTHcL5lUhHCqt8MkB5g21ddrz3OhtiTj3HgqR4TCG9Szy8H+RCeNmmSEwLvg8M+woQqdV2FJJpcwuhYouFVKbXgvgjhWMeO+RNtA+8igSknN1k5cTTJNLFabK2abQ903+700= Received: by 10.90.100.6 with SMTP id x6mr4169664agb; Tue, 03 Oct 2006 16:58:30 -0700 (PDT) Received: by 10.90.65.12 with HTTP; Tue, 3 Oct 2006 16:58:30 -0700 (PDT) Message-ID: <3b3f27c60610031658l49fee490g5a5f80f60cd516c3@mail.gmail.com> Date: Tue, 3 Oct 2006 18:58:30 -0500 From: "Nathan Beyer" To: harmony-dev@incubator.apache.org Subject: Re: [r451637] - Code cleanup - ... - Remove unnecessary comments In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If this is an event that should be logged, as the TODO indicated, then why not just print out the stack trace and be done with it? If this exception happens so often that you'd like it removed, then why would we want to log a warning message, which I would presume would print to the console just as frequently. As for TODOs, in general I find TODOs never get done, especially trivial ones like this particular case. -Nathan On 10/3/06, Alexey Varlamov wrote: > Nathan, > > I've seen you dropped many TODOs in "- Code cleanup -" series of commits; > I'd like to know what reasoning was behind this? I think it's a bit > early to erase TODOs without appropriate consideration... > > In particular, could you please undo the following change, it produces > garbage messages during AUTH testing: > > modules/auth/src/main/java/common/org/apache/harmony/auth/login/DefaultConfigurationParser.java > =========== > @@ -216,12 +206,12 @@ public class DefaultConfigurationParser > try { > val = PolicyUtils.expand(st.sval, system); > } catch (Exception e) { > - //TODO: warning log > - } > + e.printStackTrace(); > + } > } > > -- > WBR, > Alexey > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org