Skip to content

Commit ab61095

Browse files
author
Otávio Santana
committed
Merge pull request #50 from marschall/compiler-warnings
Fix Compiler Warnings
2 parents 41253f2 + 921e8b2 commit ab61095

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/main/java/org/javamoney/moneta/format/internal/CurrencyToken.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@
2020
import java.util.Locale;
2121
import java.util.Objects;
2222
import java.util.ResourceBundle;
23-
import java.util.logging.Level;
24-
import java.util.logging.Logger;
2523

2624
import javax.money.CurrencyUnit;
2725
import javax.money.MonetaryAmount;
2826
import javax.money.MonetaryCurrencies;
29-
import org.javamoney.moneta.format.CurrencyStyle;
30-
3127
import javax.money.MonetaryException;
3228
import javax.money.format.MonetaryParseException;
3329

30+
import org.javamoney.moneta.format.CurrencyStyle;
31+
3432
/**
3533
* Implements a {@link FormatToken} that adds a localizable {@link String}, read
3634
* by key from a {@link ResourceBundle}.

src/main/java/org/javamoney/moneta/spi/ServicePriority.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.lang.annotation.Retention;
2121
import java.lang.annotation.RetentionPolicy;
2222
import java.lang.annotation.Target;
23-
import java.time.LocalDate;
2423

2524
/**
2625
* Annotation used for prioritizing multiple services of the same type. The resulting order can be

src/test/java/org/javamoney/moneta/TestCurrency.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,6 @@ public String toString(){
257257
return this.currency.toString();
258258
}
259259

260-
// it be used and if so,
261-
// consider changing it to a pattern similar as getAvailableCurrencies()
262-
// (including the type Set, unless Collection provides value)
263-
public static Collection<CurrencyUnit> getAllMatching(String expression){
264-
return Collections.emptySet();
265-
}
266-
267260
}
268261

269262
}

0 commit comments

Comments
 (0)