river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sijs...@apache.org
Subject svn commit: r1022151 - /incubator/river/jtsk/skunk/sijskes/SimpleJeri/src/org/apache/river/extra/helpers/ProxyHelper.java
Date Wed, 13 Oct 2010 15:47:44 GMT
Author: sijskes
Date: Wed Oct 13 15:47:44 2010
New Revision: 1022151

URL: http://svn.apache.org/viewvc?rev=1022151&view=rev
Log:
renamed parameters

Modified:
    incubator/river/jtsk/skunk/sijskes/SimpleJeri/src/org/apache/river/extra/helpers/ProxyHelper.java

Modified: incubator/river/jtsk/skunk/sijskes/SimpleJeri/src/org/apache/river/extra/helpers/ProxyHelper.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/skunk/sijskes/SimpleJeri/src/org/apache/river/extra/helpers/ProxyHelper.java?rev=1022151&r1=1022150&r2=1022151&view=diff
==============================================================================
--- incubator/river/jtsk/skunk/sijskes/SimpleJeri/src/org/apache/river/extra/helpers/ProxyHelper.java
(original)
+++ incubator/river/jtsk/skunk/sijskes/SimpleJeri/src/org/apache/river/extra/helpers/ProxyHelper.java
Wed Oct 13 15:47:44 2010
@@ -38,29 +38,29 @@ public class ProxyHelper
     }
 
 
-    public <T> T prepare( T proxy, String comp ) throws RemoteException, ConfigurationException
+    public <T> T prepare( T proxy, String component ) throws RemoteException, ConfigurationException
     {
-        if( comp == null ) {
-            comp = getComponent(proxy.getClass());
+        if( component == null ) {
+            component = getComponent(proxy.getClass());
         }
 
-        logger.severe( comp );
+        logger.severe( component );
 
-        ProxyPreparer preparer = getPreparer(comp);
+        ProxyPreparer preparer = getPreparer(component);
 
         proxy = (T) preparer.prepareProxy(proxy);
 
         return proxy ;
     }
 
-    private ProxyPreparer getPreparer(String comp) throws ConfigurationException
+    private ProxyPreparer getPreparer(String component) throws ConfigurationException
     {
-        ProxyPreparer preparer = (ProxyPreparer) configuration.getEntry(comp, PREPARER, ProxyPreparer.class,
null);
+        ProxyPreparer preparer = (ProxyPreparer) configuration.getEntry(component, PREPARER,
ProxyPreparer.class, null);
 
         if( preparer == null ) {
-            boolean verify = getVerify(comp);
+            boolean verify = getVerify(component);
 
-            InvocationConstraints ic = getInvocationConstraints(comp);
+            InvocationConstraints ic = getInvocationConstraints(component);
 
             if( ic == null ) {
                 preparer = new BasicProxyPreparer(verify,null);



Mime
View raw message