You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/02/27 18:34:10 UTC

svn commit: r1294238 - /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java

Author: hlship
Date: Mon Feb 27 17:34:09 2012
New Revision: 1294238

URL: http://svn.apache.org/viewvc?rev=1294238&view=rev
Log:
Remove an unused method parameter to ModuleImpl.createServiceProxy()

Modified:
    tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java

Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java?rev=1294238&r1=1294237&r2=1294238&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/ModuleImpl.java Mon Feb 27 17:34:09 2012
@@ -1,4 +1,4 @@
-// Copyright 2006, 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -72,7 +72,8 @@ public class ModuleImpl implements Modul
     private final static ConcurrentBarrier BARRIER = new ConcurrentBarrier();
 
     /**
-     * "Magic" method related to Externalizable that allows the Proxy object to replace itself with the token.
+     * "Magic" method related to Serializable that allows the Proxy object to replace itself with the token when being
+     * streamed out.
      */
     private static final MethodDescription WRITE_REPLACE = new MethodDescription(Modifier.PRIVATE, "java.lang.Object",
             "writeReplace", null, null, new String[]
@@ -456,11 +457,11 @@ public class ModuleImpl implements Modul
 
         ServiceProxyToken token = SerializationSupport.createToken(serviceId);
 
-        return createProxyInstance(creator, token, serviceInterface, resources.getImplementationClass(), toString);
+        return createProxyInstance(creator, token, serviceInterface, toString);
     }
 
     private Object createProxyInstance(final ObjectCreator creator, final ServiceProxyToken token,
-                                       final Class serviceInterface, final Class serviceImplementation, final String description)
+                                       final Class serviceInterface, final String description)
     {
         ClassInstantiator instantiator = proxyFactory.createProxy(serviceInterface, new PlasticClassTransformer()
         {