Author: pwang
Date: 2010-11-22 11:35:37 -0800 (Mon, 22 Nov 2010)
New Revision: 22973
Modified:
core3/plugin-impl/trunk/src/main/java/org/cytoscape/plugin/internal/PluginManager.java
Log:
Clean up
Modified:
core3/plugin-impl/trunk/src/main/java/org/cytoscape/plugin/internal/PluginManager.java
===================================================================
---
core3/plugin-impl/trunk/src/main/java/org/cytoscape/plugin/internal/PluginManager.java
2010-11-22 19:34:44 UTC (rev 22972)
+++
core3/plugin-impl/trunk/src/main/java/org/cytoscape/plugin/internal/PluginManager.java
2010-11-22 19:35:37 UTC (rev 22973)
@@ -339,8 +339,6 @@
public List<DownloadableInfo> inquire(String Url) throws IOException,
org.jdom.JDOMException {
- System.out.println("PluginManager.inquire(): url = "+ Url);
-
List<DownloadableInfo> infoObjs = null;
PluginFileReader Reader = new PluginFileReader(Url);
infoObjs = Reader.getDownloadables();
@@ -686,15 +684,10 @@
public void loadPlugin(PluginInfo p) throws ManagerException {
List<URL> ToLoad = new ArrayList<URL>();
- System.out.println("\nPluginManager.loadPlugin()...");
-
for (String FileName : p.getFileList()) {
- System.out.println("\n\tFileName = "+ FileName);
-
if (FileName.endsWith(".jar")) {
-
-
+
Object o = null;
JarFile jar = null;
try {
@@ -712,18 +705,8 @@
o = con.newInstance(adapter);
}
catch (Exception e){
- System.out.println("Caught Exception in
PluginManager.loadPlugin()...\n");
e.printStackTrace();
}
-
- /*
- try {
- ToLoad.add(jarURL(FileName));
- } catch (MalformedURLException mue) {
- // mue.printStackTrace();
- loadingErrors.add(mue);
- }
- */
}
}
// don't need to register if we have the info object
--
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.