cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r429019 - /cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
Date Sat, 05 Aug 2006 18:04:37 GMT
Author: cziegeler
Date: Sat Aug  5 11:04:36 2006
New Revision: 429019

URL: http://svn.apache.org/viewvc?rev=429019&view=rev
Log:
Code cleanup

Modified:
    cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java

Modified: cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java?rev=429019&r1=429018&r2=429019&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
(original)
+++ cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java
Sat Aug  5 11:04:36 2006
@@ -197,10 +197,10 @@
      * attribute with the given name, the coplet base data is used.
      */
     protected Object getConfiguration(CopletInstance coplet, String key) {
-        CopletDefinition copletData = coplet.getCopletDefinition();
-        Object data = copletData.getAttribute( key );
+        final CopletDefinition copletDefinition = coplet.getCopletDefinition();
+        Object data = copletDefinition.getAttribute( key );
         if ( data == null) {
-            data = copletData.getCopletType().getCopletConfig().get( key );
+            data = copletDefinition.getCopletType().getCopletConfig().get( key );
         }
         return data;
     }



Mime
View raw message