Author: mes
Date: 2010-10-25 15:55:47 -0700 (Mon, 25 Oct 2010)
New Revision: 22403

Modified:
   
core3/model-impl/trunk/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
Log:
removed more for getUniqueColumns

Modified: 
core3/model-impl/trunk/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
===================================================================
--- 
core3/model-impl/trunk/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
  2010-10-25 22:55:21 UTC (rev 22402)
+++ 
core3/model-impl/trunk/src/main/java/org/cytoscape/model/internal/CyTableImpl.java
  2010-10-25 22:55:47 UTC (rev 22403)
@@ -58,7 +58,6 @@
        private final Map<Object, CyRow> rows;
 
        private final Map<String, Class<?>> types;
-       private final Map<String, Boolean> unique;
        
        // This is not unique and might be changed by user.
        private String title;
@@ -98,13 +97,11 @@
                attributes = new HashMap<String, Map<Object, Object>>();
                rows = new HashMap<Object, CyRow>();
                types = new HashMap<String, Class<?>>();
-               unique = new HashMap<String, Boolean>();
 
                // Create the primary key column.  Do this explicitly
                // so that we don't fire an event.
                types.put(primaryKey, primaryKeyType);
                attributes.put(primaryKey, new HashMap<Object, Object>());
-               unique.put(primaryKey, true);
        }
 
        /**
@@ -203,7 +200,6 @@
                if (curr == null) {
                        types.put(attributeName, cls);
                        attributes.put(attributeName, new HashMap<Object, 
Object>());
-                       unique.put(attributeName, u);
                        
                        // Fire event
                        eventHelper.fireAsynchronousEvent(new 
ColumnCreatedEvent(this, attributeName));

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to