[Webfunds-commits] java/webfunds/ricardian Currency.java

Ian Grigg iang@cypherpunks.ai
Sat, 16 Sep 2000 12:29:56 -0400 (AST)


iang        00/09/16 12:29:56

  Modified:    webfunds/ricardian Currency.java
  Log:
  commented out the debugs only...

Revision  Changes    Path
1.8       +6 -5      java/webfunds/ricardian/Currency.java

Index: Currency.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/ricardian/Currency.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Currency.java	2000/09/04 15:45:17	1.7
+++ Currency.java	2000/09/16 16:29:56	1.8
@@ -1,5 +1,5 @@
 /*
- * $Id: Currency.java,v 1.7 2000/09/04 15:45:17 iang Exp $
+ * $Id: Currency.java,v 1.8 2000/09/16 16:29:56 iang Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -23,9 +23,9 @@
 
         if (s != null && s.length() > 0)
         {
-System.err.println("got new power: " + s);
+// System.err.println("got new power: " + s);
             int p = Support.powerInt(s);
-System.err.println("set new power: " + p);
+// System.err.println("set new power: " + p);
             setPower(p);
             this.factor = Support.power2factorDouble(p);
         }
@@ -37,7 +37,7 @@
                 int p = Support.factor2powerInt(this.factor);
                 setPower(p);
             } catch (ContractException ex) {
-System.err.println("not a power: " + ex);
+// System.err.println("not a power: " + ex);
             }
         }
     }
@@ -62,7 +62,8 @@
     //amount = dollars, units = cents
     public double getAmount(long units)
     {
-// System.err.println("returning " + units + " * " + factor + " == " + ( units * factor));
+// System.err.println("returning " + units + " * " + factor + " == " +
+//                                                  ( units * factor));
         return units * factor;
     }