From commits-return-4740-apmail-tapestry-dev-archive=tapestry.apache.org@tapestry.apache.org Tue Mar 03 22:40:05 2009 Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 20841 invoked from network); 3 Mar 2009 22:40:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 22:40:05 -0000 Received: (qmail 8622 invoked by uid 500); 3 Mar 2009 22:40:05 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 8588 invoked by uid 500); 3 Mar 2009 22:40:05 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 8579 invoked by uid 99); 3 Mar 2009 22:40:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 14:40:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 22:40:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5414223888F4; Tue, 3 Mar 2009 22:39:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r749808 - /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java Date: Tue, 03 Mar 2009 22:39:44 -0000 To: commits@tapestry.apache.org From: hlship@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090303223944.5414223888F4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: hlship Date: Tue Mar 3 22:39:43 2009 New Revision: 749808 URL: http://svn.apache.org/viewvc?rev=749808&view=rev Log: Fix some typos Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java?rev=749808&r1=749807&r2=749808&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java (original) +++ tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java Tue Mar 3 22:39:43 2009 @@ -55,7 +55,7 @@ { /** * When the method is invoked, we don't immediately proceed. Intead, we return a thunk instance - * that defers its behavior to the lazyily invoked invocation. + * that defers its behavior to the lazily invoked invocation. */ public void advise(final Invocation invocation) { @@ -69,9 +69,9 @@ } }; - ObjectCreator oneShot = new CachingObjectCreator(deferred); + ObjectCreator cachingObjectCreator = new CachingObjectCreator(deferred); - Object thunk = thunkCreator.createThunk(thunkType, oneShot, description); + Object thunk = thunkCreator.createThunk(thunkType, cachingObjectCreator, description); invocation.overrideResult(thunk); }