Author: ruschein
Date: 2011-05-26 13:26:35 -0700 (Thu, 26 May 2011)
New Revision: 25550

Modified:
   
cytoscape/trunk/coreplugins/browser/src/main/java/browser/ui/CyAttributeBrowserTable.java
Log:
Fixed export of null values.  (Mantis bug #2533)

Modified: 
cytoscape/trunk/coreplugins/browser/src/main/java/browser/ui/CyAttributeBrowserTable.java
===================================================================
--- 
cytoscape/trunk/coreplugins/browser/src/main/java/browser/ui/CyAttributeBrowserTable.java
   2011-05-26 20:25:35 UTC (rev 25549)
+++ 
cytoscape/trunk/coreplugins/browser/src/main/java/browser/ui/CyAttributeBrowserTable.java
   2011-05-26 20:26:35 UTC (rev 25550)
@@ -1103,10 +1103,8 @@
                for (int i = 0; i < numrows; i++) {
                        for (int j = 0; j < numcols; j++) {
                                final Object cellValue = 
this.getValueAt(rowsselected[i], colsselected[j]);
-                               if (cellValue == null)
-                                       continue;
-
-                               final String cellText = 
((ValidatedObjectAndEditString)cellValue).getEditString();
+                               final String cellText =
+                                       cellValue == null ? "null" 
:((ValidatedObjectAndEditString)cellValue).getEditString();
                                sbf.append(cellText);
 
                                if (j < (numcols - 1))

-- 
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