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 D1D8210C06 for ; Thu, 7 Nov 2013 16:37:44 +0000 (UTC) Received: (qmail 51216 invoked by uid 500); 7 Nov 2013 16:37:43 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 50977 invoked by uid 500); 7 Nov 2013 16:37:42 -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 50901 invoked by uid 99); 7 Nov 2013 16:37:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 16:37:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phil.steitz@gmail.com designates 209.85.192.169 as permitted sender) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 16:37:33 +0000 Received: by mail-pd0-f169.google.com with SMTP id q10so832333pdj.14 for ; Thu, 07 Nov 2013 08:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=DDa/gGlk/KWbUTjk82eRZM+gwrSIDyFN/fMLwkVaCkM=; b=BmQUuHNj/VfO06XUYwSXpmERg8hXlZyjPb9wtXyKe4cflqnFDlxIJe7okhRFa4Ezdt nk7IXkGvAxYIAPpfyamEXW3X8A5NIk+9262tQ1b34+ebDbWmUBf9ykFfhHjskdpjIZEz 6fF0ddeVXjj1T5teH3peP0sRErhN9zJ66IDtzoOaAct/0tm/DFkfyv3L1pIQoDms3qzf DPG3TL86aQGBRpmetT5qRajPRcY5U91vXwpue5xResuUDxFl4PxepLKvhaf/249mPsEg dlC5y45zWlU6BGESpxf2yCa4bkqWkKGjgj9kEgD+yi/C7jRh/pTvXX4UXMm3V3BP8XMh ZR9Q== X-Received: by 10.68.234.10 with SMTP id ua10mr9999854pbc.116.1383842232415; Thu, 07 Nov 2013 08:37:12 -0800 (PST) Received: from [192.168.2.104] (ip72-208-109-243.ph.ph.cox.net. [72.208.109.243]) by mx.google.com with ESMTPSA id xn12sm7516440pac.12.2013.11.07.08.37.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 08:37:11 -0800 (PST) Message-ID: <527BC1B9.1090908@gmail.com> Date: Thu, 07 Nov 2013 08:37:13 -0800 From: Phil Steitz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Commons Developers List Subject: Re: [VOTE] Release Apache Commons Pool 2.0 RC4 as 2.0 References: <52783BB4.6080901@apache.org> <527A68C2.3050303@gmail.com> <527AB6B7.2020508@gmail.com> <527B5FA1.60704@apache.org> In-Reply-To: <527B5FA1.60704@apache.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 11/7/13 1:38 AM, Mark Thomas wrote: > On 06/11/2013 21:37, Phil Steitz wrote: >> My +1 below stands, but here is something for the RM (Mark) and >> others to consider. >> >> Following the directions on the main site page, I realized that the >> change in r 1537253 to break the cyclic dependency between .pool2 >> and .pool2.impl made my instructions incorrect. I did not fully get >> the implications of this change when it was committed and I failed >> to make the appropriate change to the site doc. I can update the >> site post-release no problem; but I wonder now if we might want to >> consider moving DefaultPooledObject up to .pool2 so that the simple >> (now incomplete) approach documented on the main page can work. >> Otherwise, you always have to add the wrap implementation, which I >> bet in the vast majority of cases will end up just being what >> makeObject did before the change: >> >> @Override >> public PooledObject wrap(Foo foo) { >> return new DefaultPooledObject(foo); >> } >> >> I get that DefaultPooledObject is an impl kind of thing; but so >> actually is BasePooledObjectFactory. >> >> Apologies - once again - for not having noticed this when reviewing >> the commit and RCs. I can live with it the way it is and as I said >> the site doc can be fixed post-release, so I am OK moving forward. >> Just wanted to do a little gut check before we pour the cement on >> this setup. > I think there are good arguments for both positions that are pretty > evenly matched. Having opted for one arrangement, I don't see a strong > enough argument to change it. > > The o.a.c.pool2 package currently only contains interfaces, abstract > classes and a utility class. There are no concrete implementations. > Moving DefaultPooledObject would change that. Equally, I can see how > moving it would make things simpler but I did deliberately opt to leave > it in o.a.c.pool2.impl Good point. I suppose moving the other way is also possible (Base* -> impl) but I see downsides to this too. I get the logic now. Once again, sorry for not having raised this when the change was made. > I'm fine with fixing the docs post release. OK. I will fix the docs in trunk. As I said above, my +1 for these artifacts stands. Phil > > Mark > > > --------------------------------------------------------------------- > 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