Author: ruschein
Date: 2009-12-30 17:15:19 -0800 (Wed, 30 Dec 2009)
New Revision: 18809
Modified:
cytoscape/trunk/src/cytoscape/Cytoscape.java
Log:
Cosmetic.
Modified: cytoscape/trunk/src/cytoscape/Cytoscape.java
===================================================================
--- cytoscape/trunk/src/cytoscape/Cytoscape.java 2009-12-31 01:14:13 UTC
(rev 18808)
+++ cytoscape/trunk/src/cytoscape/Cytoscape.java 2009-12-31 01:15:19 UTC
(rev 18809)
@@ -1558,15 +1558,15 @@
for (int i = 0; i < nodeAttrLocations.length; ++i) {
try {
InputStreamReader reader = null;
- try {
+ try {
reader = new
InputStreamReader(FileUtil.getInputStream(nodeAttrLocations[i]));
- CyAttributesReader.loadAttributes(nodeAttributes,
reader);
- }
- finally {
- if (reader != null) {
- reader.close();
- }
- }
+
CyAttributesReader.loadAttributes(nodeAttributes, reader);
+ }
+ finally {
+ if (reader != null) {
+ reader.close();
+ }
+ }
firePropertyChange(ATTRIBUTES_CHANGED,
null, null);
} catch (Exception e) {
// e.printStackTrace();
--
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.