You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2009/03/03 23:39:44 UTC

svn commit: r749808 - /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/LazyAdvisorImpl.java

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);
             }