Author: kono
Date: 2011-05-03 16:14:37 -0700 (Tue, 03 May 2011)
New Revision: 24912
Modified:
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/loadnetwork/LoadNetworkFileTask.java
Log:
Broken format are fixed.
Modified:
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/loadnetwork/LoadNetworkFileTask.java
===================================================================
---
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/loadnetwork/LoadNetworkFileTask.java
2011-05-03 23:03:30 UTC (rev 24911)
+++
core3/core-task-impl/trunk/src/main/java/org/cytoscape/task/internal/loadnetwork/LoadNetworkFileTask.java
2011-05-03 23:14:37 UTC (rev 24912)
@@ -43,34 +43,34 @@
* Specific instance of AbstractLoadNetworkTask that loads a File.
*/
public class LoadNetworkFileTask extends AbstractLoadNetworkTask {
- @Tunable(description = "Network file to load", params =
"fileCategory=network;input=true")
- public File file;
+ @Tunable(description = "Network file to load", params =
"fileCategory=network;input=true")
+ public File file;
- public LoadNetworkFileTask(CyNetworkViewReaderManager mgr,
CyNetworkManager netmgr,
- final CyNetworkViewManager networkViewManager, final Properties
props, CyNetworkNaming namingUtil) {
- super(mgr, netmgr, networkViewManager, props, namingUtil);
- }
+ public LoadNetworkFileTask(CyNetworkViewReaderManager mgr,
CyNetworkManager netmgr,
+ final CyNetworkViewManager networkViewManager, final
Properties props, CyNetworkNaming namingUtil) {
+ super(mgr, netmgr, networkViewManager, props, namingUtil);
+ }
- /**
- * Executes Task.
- */
- public void run(TaskMonitor taskMonitor) throws Exception {
- this.taskMonitor = taskMonitor;
+ /**
+ * Executes Task.
+ */
+ public void run(TaskMonitor taskMonitor) throws Exception {
+ this.taskMonitor = taskMonitor;
- if (file == null)
- throw new NullPointerException("No file specified!");
+ if (file == null)
+ throw new NullPointerException("No file specified!");
- reader = mgr.getReader(file.toURI(), file.getName());
+ reader = mgr.getReader(file.toURI(), file.getName());
- if (cancelled)
- return;
+ if (cancelled)
+ return;
- if (reader == null)
- throw new NullPointerException("Failed to find appropriate reader
for file: " + file);
+ if (reader == null)
+ throw new NullPointerException("Failed to find
appropriate reader for file: " + file);
- uri = file.toURI();
- name = file.getName();
+ uri = file.toURI();
+ name = file.getName();
- loadNetwork(reader);
- }
+ loadNetwork(reader);
+ }
}
--
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.