Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C600B8A03 for ; Sun, 11 Sep 2011 21:22:02 +0000 (UTC) Received: (qmail 90737 invoked by uid 500); 11 Sep 2011 21:22:02 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 90550 invoked by uid 500); 11 Sep 2011 21:22:01 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 90542 invoked by uid 99); 11 Sep 2011 21:22:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 21:22:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of garydgregory@gmail.com designates 209.85.218.43 as permitted sender) Received: from [209.85.218.43] (HELO mail-yi0-f43.google.com) (209.85.218.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2011 21:21:55 +0000 Received: by yia27 with SMTP id 27so2962564yia.30 for ; Sun, 11 Sep 2011 14:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3cKdjPSyXi+PbXY/PnXI8UtyzirSjwv1VUefarik77I=; b=HUJTM2kdNfIRb5eDoLpqblCzjnCGPmnTych4gsnfZZkR5mOEFL91kPw+DObZDSJiLf Yw5mBu2xOt6O4+Z0yT0LPsuaikFFfHRjHYlTI2pBvAeTI5MReRMyzIDUV6l7Rf1RwW6J a6hPqyNkeUaW1quyq2PZ/V0VHosXUX7hKjfqI= MIME-Version: 1.0 Received: by 10.231.69.69 with SMTP id y5mr6011537ibi.95.1315776093915; Sun, 11 Sep 2011 14:21:33 -0700 (PDT) Received: by 10.231.33.198 with HTTP; Sun, 11 Sep 2011 14:21:33 -0700 (PDT) In-Reply-To: <4E6D1BD8.8000008@gmail.com> References: <4E6CFE17.7060506@gmail.com> <4E6D1BD8.8000008@gmail.com> Date: Sun, 11 Sep 2011 17:21:33 -0400 Message-ID: Subject: Re: [pool] drop Base(Keyed)ObjectPool? From: Gary Gregory To: Commons Developers List Content-Type: multipart/alternative; boundary=0015176f0464ae8c3604acb0fe72 X-Virus-Checked: Checked by ClamAV on apache.org --0015176f0464ae8c3604acb0fe72 Content-Type: text/plain; charset=UTF-8 On Sun, Sep 11, 2011 at 4:36 PM, Phil Steitz wrote: > On 9/11/11 12:44 PM, Gary Gregory wrote: > > Perhaps we want to keep the ivars in one place since they all have very > > carefully been decorated with final and volatile just in the right > places? > > There is only one field being maintained and I think it would > actually be clearer to push it into the (small number of) remaining > impls. > > > > > What about dropping "Object" from the name? That makes even less sense > now > > that we have generics enabled. > > Well, generic or no, what we pool r objects ;) > As opposed to what? Primitives? ;) Seriously, it seems superfluous. I thought the name originated in the fact that the pool was typed to use java.lang.Object as opposed to more specific types. The name could be justified in my mind then, but not with the use of generics. My 2c, Gary > > Phil > > > > Gary > > > > On Sun, Sep 11, 2011 at 2:29 PM, Phil Steitz > wrote: > > > >> These classes really do nothing other than maintain the boolean > >> "closed", throwing UnsupportedOperationException or returning > >> nonsense for most methods. The interfaces define contracts, so why > >> do we really need these base classes? > >> > >> Phil > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > >> For additional commands, e-mail: dev-help@commons.apache.org > >> > >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > -- E-Mail: garydgregory@gmail.com | ggregory@apache.org JUnit in Action, 2nd Ed: http://s.apache.org/rl Spring Batch in Action: http://s.apache.org/HOq Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --0015176f0464ae8c3604acb0fe72--