Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 65541 invoked from network); 16 Oct 2006 13:57:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 13:57:16 -0000 Received: (qmail 90752 invoked by uid 500); 16 Oct 2006 13:57:16 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 90721 invoked by uid 500); 16 Oct 2006 13:57:16 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 90712 invoked by uid 99); 16 Oct 2006 13:57:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 06:57:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.188.213.6] (HELO smtp-out3.blueyonder.co.uk) (195.188.213.6) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 06:57:14 -0700 Received: from [172.23.170.140] (helo=anti-virus02-07) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1GZSxY-0007zh-TP for cxf-dev@incubator.apache.org; Mon, 16 Oct 2006 14:56:52 +0100 Received: from [82.39.189.208] (helo=[192.168.1.200]) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1GZSxY-0005SD-CL for cxf-dev@incubator.apache.org; Mon, 16 Oct 2006 14:56:52 +0100 Message-ID: <45338F97.1000100@jboss.com> Date: Mon, 16 Oct 2006 14:56:39 +0100 From: Kevin Conner User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: PMD Rule Change Howto? References: <453261D1.7040806@envoisolutions.com> <45335E37.9040501@jboss.com> <20061016090516.D6777@ionaglobal.com> <45338AB7.3060106@envoisolutions.com> <45338EFA.5000505@jboss.com> In-Reply-To: <45338EFA.5000505@jboss.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Kevin Conner wrote: > public abstract class A > { > private OutputStream os ; > > A() > { > os = getOutputStream() ; > } > > protected abstract OutputStream getOutputStream() ; > } > > public class B > { > private Socket socket = null ; > > protected OutputStream getOutputStream() > { > socket = .... ; > return socket.getOutputStream() ; > } > } Of course that should be 'public class B extends A' :-) Kev