[eclipsefinance-subversion] SF.net SVN: eclipsefinance: [22] trunk/net.sf.eclipsefinance.core/src/n
Status: Pre-Alpha
Brought to you by:
yukio7
|
From: <yu...@us...> - 2006-09-20 17:54:41
|
Revision: 22
http://svn.sourceforge.net/eclipsefinance/?rev=22&view=rev
Author: yukio7
Date: 2006-09-20 10:54:35 -0700 (Wed, 20 Sep 2006)
Log Message:
-----------
fix: transaction has juste one (BigDecimal)amount
Modified Paths:
--------------
trunk/net.sf.eclipsefinance.core/src/net/sf/eclipsefinance/core/model/Transaction.java
Modified: trunk/net.sf.eclipsefinance.core/src/net/sf/eclipsefinance/core/model/Transaction.java
===================================================================
--- trunk/net.sf.eclipsefinance.core/src/net/sf/eclipsefinance/core/model/Transaction.java 2006-09-20 17:53:56 UTC (rev 21)
+++ trunk/net.sf.eclipsefinance.core/src/net/sf/eclipsefinance/core/model/Transaction.java 2006-09-20 17:54:35 UTC (rev 22)
@@ -61,6 +61,10 @@
return this.amount;
}
+ public void setAmount(double amount) {
+ this.amount = new BigDecimal(amount);
+ }
+
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|