cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r329204 - /cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java
Date Fri, 28 Oct 2005 14:00:45 GMT
Author: cziegeler
Date: Fri Oct 28 07:00:41 2005
New Revision: 329204

URL: http://svn.apache.org/viewcvs?rev=329204&view=rev
Log:
More simplifying of Castor

Modified:
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java?rev=329204&r1=329203&r2=329204&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java
Fri Oct 28 07:00:41 2005
@@ -17,12 +17,7 @@
 
 import java.util.HashMap;
 import java.util.Map;
-import java.util.Collection;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.Iterator;
 
-import org.apache.cocoon.portal.persistence.castor.AttributedMapItem;
 import org.apache.cocoon.portal.pluto.om.common.PreferenceSetImpl;
 import org.apache.pluto.om.common.PreferenceSet;
 
@@ -124,25 +119,7 @@
     public Map getAttributes() {
         return this.attributes;
     }
-/*
-    public final Collection getCastorAttributes() {
-        Set set = new HashSet(this.attributes.size());
-        Iterator iterator = this.attributes.entrySet().iterator();
-        Map.Entry entry;
-        while (iterator.hasNext()) {
-            entry = (Map.Entry) iterator.next();
-            AttributedMapItem item = new AttributedMapItem();
-            item.setKey(entry.getKey());
-            item.setValue(entry.getValue());
-            set.add(item);
-        }
-        return set;
-    }
 
-    public void addAttribute(AttributedMapItem item) {
-        this.attributes.put(item.getKey(), item.getValue());
-    }
-*/
     public Object getTemporaryAttribute(String key) {
         return this.temporaryAttributes.get(key);
     }



Mime
View raw message