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 4EA757B01 for ; Tue, 9 Aug 2011 21:50:20 +0000 (UTC) Received: (qmail 40529 invoked by uid 500); 9 Aug 2011 21:50:19 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 40408 invoked by uid 500); 9 Aug 2011 21:50:19 -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 40400 invoked by uid 99); 9 Aug 2011 21:50:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 21:50:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,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; Tue, 09 Aug 2011 21:50:13 +0000 Received: by yia27 with SMTP id 27so330018yia.30 for ; Tue, 09 Aug 2011 14:49:52 -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=uZ52pGTikQpqkQeCQgDXSTEXwy4KAYZutt3Yr3NGBHM=; b=CfgwrnV1kX/wUpCx25GozRaYotFRpxET6B0/R0GtnfXcf9V5TXv304b8NBqy7E/GvJ ZvzqT8X1a+zNVaOqpYa+dDO+szqGnFEJbQ3W5yZvu9U7C+ms07Kw0zvOUNidz2qtTZG2 IJ7lnJenSVem4af80dE9kuDptEeYYaxDXMqiw= MIME-Version: 1.0 Received: by 10.43.131.200 with SMTP id hr8mr6421804icc.229.1312926592088; Tue, 09 Aug 2011 14:49:52 -0700 (PDT) Received: by 10.231.11.198 with HTTP; Tue, 9 Aug 2011 14:49:52 -0700 (PDT) In-Reply-To: <2011619111603293442@unknownmsgid> References: <4E41983B.40201@oliver-heger.de> <2011619111603293442@unknownmsgid> Date: Tue, 9 Aug 2011 17:49:52 -0400 Message-ID: Subject: Re: [lang] Adding a Memoizer class From: Gary Gregory To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org We are good! I asked Brian, one of the authors and the code is in the public domain: On Tue, Aug 9, 2011 at 5:40 PM, Brian Goetz wrote: > No license issues -- the code is in the public domain: > > Written by Brian Goetz and Tim Peierls with assistance from members of > JCP JSR-166 Expert Group and released to the public domain, as explained > at > http://creativecommons.org/licenses/publicdomain > > > Code for the samples can be downloaded from > http://www.jcip.net/listings.html. > > Cheers, > -Brian > > > On 8/9/2011 5:38 PM, Gary Gregory wrote: >> >> Hi Brian, >> >> I would like to include a Memoizer in the next release of Apache >> Commons Lang [1]. >> >> Can we use the Memoizer pattern from "Java Concurrency in Practice"? I >> think I would reuse the code from the class Memoizer and change names, >> things like that. >> >> We are talking about this on the Lang mailing list and are wondering >> if there are any licensing issues. >> >> [1] https://commons.apache.org/lang/ >> > -- Thank you, Gary On Tue, Aug 9, 2011 at 5:06 PM, Gary Gregory wrote: > On Aug 9, 2011, at 16:28, Oliver Heger wrote: > >> Am 09.08.2011 20:57, schrieb Gary Gregory: >>> Hello All, >>> >>> I am currently using a class like the Memoizer class [1] from "Java >>> Concurrency in Practice" [2], a great book. >>> >>> It would fit perfectly in org.apache.commons.lang3.concurrent. >>> >>> Any thoughts for or against? >> >> +1, this would be a nice addition to the concurrent package. Are there any licensing issues? > > Good question. It would not be a char for char copy but the pattern > would be the same. I'll look around... > > Gary > >> >> Oliver >> >>> >>> Thank you, >>> >>> Gary >>> >>> [1] http://jcip.net/listings/Memoizer.java >>> [2] http://jcip.net/ >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> > -- Thank you, Gary http://garygregory.wordpress.com/ http://garygregory.com/ http://people.apache.org/~ggregory/ http://twitter.com/GaryGregory --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org