Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
joniles committed Jan 9, 2025
1 parent 12f6205 commit 6947f54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/Currency.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Represents a currency.
*/
public class Currency implements ProjectEntityWithUniqueID
public final class Currency implements ProjectEntityWithUniqueID
{
/**
* Constructor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1424,16 +1424,16 @@ interface ExportFunction<T>
}

private static final Currency DEFAULT_CURRENCY = new Currency.Builder(null)
.uniqueID(1)
.numberOfDecimalPlaces(2)
.uniqueID(Integer.valueOf(1))
.numberOfDecimalPlaces(Integer.valueOf(2))
.symbol("$")
.decimalSymbol(".")
.digitGroupingSymbol(",")
.positiveCurrencyFormat("#1.1")
.negativeCurrencyFormat("(#1.1)")
.name("US Dollar")
.currencyID("USD")
.exchangeRate(1.0)
.exchangeRate(Double.valueOf(1.0))
.build();

private static final Map<String, ExportFunction<Currency>> CURRENCY_COLUMNS = new LinkedHashMap<>();
Expand Down

0 comments on commit 6947f54

Please sign in to comment.