Skip to content

Commit 08e3a25

Browse files
committed
1 parent c5c6e08 commit 08e3a25

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

console/src/main/java/org/javamoney/examples/console/MoneyDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public class MoneyDemo {
2929
* @param args
3030
*/
3131
public static void main(String[] args) {
32-
Money amt1 = Money.of("USD", 10.1234556123456789);
33-
FastMoney amt2 = FastMoney.of("USD", 123456789);
32+
Money amt1 = Money.of(10.1234556123456789, "USD");
33+
FastMoney amt2 = FastMoney.of(123456789, "USD");
3434
Money total = amt1.add(amt2);
3535
System.out.println(total);
3636
}

swing/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
</dependency>
2929

3030
<dependency>
31-
<groupId>org.javamoney.ri</groupId>
32-
<artifactId>jsr354-ri</artifactId>
31+
<groupId>org.javamoney</groupId>
32+
<artifactId>moneta</artifactId>
3333
<version>${jsr.version}</version>
3434
</dependency>
3535
</dependencies>
@@ -53,8 +53,8 @@
5353
</dependency>
5454

5555
<dependency>
56-
<groupId>org.javamoney.ri</groupId>
57-
<artifactId>jsr354-ri</artifactId>
56+
<groupId>org.javamoney</groupId>
57+
<artifactId>moneta</artifactId>
5858
</dependency>
5959
</dependencies>
6060
<modules>

0 commit comments

Comments
 (0)