Skip to content

Commit a3b3d4d

Browse files
committed
OPEN - task 2: Adjust to API changes - removed unused imports
http://github.com/JavaMoney/javamoney-examples/issues/issue/2
1 parent 2a7eb9b commit a3b3d4d

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

src/main/java/javax/money/MonetaryContext.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010

1111
import java.io.IOException;
1212
import java.io.Serializable;
13-
import java.util.Collections;
1413
import java.util.HashMap;
1514
import java.util.Map;
1615
import java.util.Objects;
17-
import java.util.Set;
1816

1917
/**
2018
* This class models the numeric capabilities of a {@link MonetaryAmount} in a

src/main/java/javax/money/spi/JavaMoneyConfig.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
/*
2-
* Copyright (c) 2012, 2013, Credit Suisse (Anatole Tresch), Werner Keil. Licensed under the Apache
3-
* License, Version 2.0 (the "License"); you may not use this file except in compliance with the
4-
* License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5-
* Unless required by applicable law or agreed to in writing, software distributed under the License
6-
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
7-
* or implied. See the License for the specific language governing permissions and limitations under
8-
* the License.
2+
* CREDIT SUISSE IS WILLING TO LICENSE THIS SPECIFICATION TO YOU ONLY UPON THE CONDITION THAT YOU
3+
* ACCEPT ALL OF THE TERMS CONTAINED IN THIS AGREEMENT. PLEASE READ THE TERMS AND CONDITIONS OF THIS
4+
* AGREEMENT CAREFULLY. BY DOWNLOADING THIS SPECIFICATION, YOU ACCEPT THE TERMS AND CONDITIONS OF
5+
* THE AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY IT, SELECT THE "DECLINE" BUTTON AT THE
6+
* BOTTOM OF THIS PAGE. Specification: JSR-354 Money and Currency API ("Specification") Copyright
7+
* (c) 2012-2014, Credit Suisse All rights reserved.
98
*/
109
package javax.money.spi;
1110

src/main/java/javax/money/spi/MonetaryAmountFormatProviderSpi.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
*/
99
package javax.money.spi;
1010

11-
import java.util.Collection;
12-
import java.util.Locale;
13-
1411
import javax.money.format.AmountStyle;
1512
import javax.money.format.MonetaryAmountFormat;
1613

src/test/java/javax/money/function/MonetaryRoundingsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import static org.junit.Assert.assertNotNull;
1616

17-
import java.math.BigDecimal;
1817
import java.util.Locale;
1918

2019
import javax.money.MonetaryContext;

0 commit comments

Comments
 (0)