Author: kono
Date: 2011-05-01 04:15:35 -0700 (Sun, 01 May 2011)
New Revision: 24884

Modified:
   
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/sif/Interaction.java
Log:
Minor bug had been fixed.

Modified: 
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/sif/Interaction.java
===================================================================
--- 
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/sif/Interaction.java
       2011-05-01 10:52:23 UTC (rev 24883)
+++ 
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/sif/Interaction.java
       2011-05-01 11:15:35 UTC (rev 24884)
@@ -54,10 +54,10 @@
            throw new IllegalArgumentException("Invalid entry.");
 
        source = values[0].trim();
+       targets = new ArrayList<String>();
 
        if (values.length > 2) {
            interactionType = values[1].trim();
-           targets = new ArrayList<String>();
            for (int i = 2; i < values.length; i++)
                targets.add(values[i].trim());
        }

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