Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 73440 invoked from network); 17 Dec 2004 11:53:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Dec 2004 11:53:20 -0000 Received: (qmail 92487 invoked by uid 500); 17 Dec 2004 11:53:18 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 92425 invoked by uid 500); 17 Dec 2004 11:53:18 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 92412 invoked by uid 99); 17 Dec 2004 11:53:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO mail.fts-vn.com) (210.245.44.131) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Dec 2004 03:51:19 -0800 Received: from firewall ([210.245.44.130] helo=172.16.1.150) by mail.fts-vn.com with esmtp (Exim 4.34) id 1CfGV8-0002Em-Ka for dev@ant.apache.org; Fri, 17 Dec 2004 18:42:26 +0700 Subject: Re: [Patch] ChangeLogParser - hiding field From: kj To: Ant Developers List In-Reply-To: References: <41C2514B.8080109@it.fts-vn.com> Content-Type: text/plain Date: Fri, 17 Dec 2004 18:50:26 +0700 Message-Id: <1103284226.4266.40.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-unconfigured-debian-site-MailScanner: Found to be clean X-MailScanner-From: kevin.jackson@it.fts-vn.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 2004-12-17 at 12:29 +0100, Stefan Bodewig wrote: > On Fri, 17 Dec 2004, Kev Jackson wrote: > > > -class ChangeLogParser { > > +public class ChangeLogParser { > > why? why not? ;) No really, just habit - company standards where I've worked in past etc. Changing it can't break BWC as it can only make the class more visible not less visible. I suppose it could expose the class more than was intended, but again the only real rationale for this was that I was looking at the class and it's completely automatic (for me) to specify an exact access modifier for everything as shows your exact intentions. I can understand if there's a problem with changing it and it breaks stuff, I won't do it again, but I basically was on autopilot for that particular change. Also to be fair only a few classes are defined without any modifier - I assumed this was a historical oddity and was breaking style. Rambling now ... never mind Kev --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org