[Webfunds-commits] java/webfunds/client/plugins PluginManager.java

Ian Grigg iang@cypherpunks.ai
Wed, 7 Jun 2000 16:32:06 -0400 (AST)


iang        00/06/07 16:32:06

  Modified:    webfunds/client/plugins PluginManager.java
  Log:
  cleanup of old commented code

Revision  Changes    Path
1.13      +3 -19     java/webfunds/client/plugins/PluginManager.java

Index: PluginManager.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/plugins/PluginManager.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- PluginManager.java	2000/06/05 02:43:22	1.12
+++ PluginManager.java	2000/06/07 20:32:06	1.13
@@ -1,5 +1,5 @@
 /* 
- * $Id: PluginManager.java,v 1.12 2000/06/05 02:43:22 gelderen Exp $
+ * $Id: PluginManager.java,v 1.13 2000/06/07 20:32:06 iang Exp $
  *
  * Copyright (c) 1995-2000 Systemics Inc on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -55,15 +55,6 @@
     public void plugged(WalletInterface wi)
     {
 
-//        //
-//        //  Copy both the WalletInterface ones and the ordinary ones.
-//        //
-        //Vector wp = getPluginVector(wi);
-//        int pugs = plugins.size();
-//        int len = wp.size() + pugs;
-//        if (len == 0)
-//            return ;
-
         PluginInfo[] array;
         int pugs;
         Vector wp = getPluginVector(wi);
@@ -80,13 +71,6 @@
             array[i] = (PluginInfo)wp.elementAt(i);
         core.getAccountBrowser(this).setPlugins(array, wi);
 
-//        logmsg("plugged() - (wallet)plugins " + len);
-//        array = new PluginInfo[len];
-//        plugins.copyInto(array);
-//        for (int i = 0; i < len - pugs; i++)
-//            array[i + pugs] = (PluginInfo)wp.elementAt(i);
-//            
-//        core.getAccountBrowser(this).setPlugins(array, wi);
     }
 
     public void plugged()
@@ -148,10 +132,10 @@
         String genact = pug.getGeneralAction();
         String conact = pug.getContractAction();
         String accact = pug.getAccountAction();
-logmsg("prepare " + classname + " conact == " + conact);
+// logmsg("prepare " + classname + " conact == " + conact);
         PluginInfo pluginfo;
         pluginfo = new PluginInfo(classname, genact, conact, accact);
-logmsg("prepared pluginfo " + pluginfo);
+// logmsg("prepared pluginfo " + pluginfo);
         plugins.addElement(pluginfo);
     }