Skip to content

Commit 2ed4e5d

Browse files
committed
Update DefaultRoundingProvider.java
Made internal names/ids final
1 parent a7a3f19 commit 2ed4e5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/javamoney/moneta/internal/DefaultRoundingProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2012, 2014, Credit Suisse (Anatole Tresch), Werner Keil and others by the @author tag.
2+
* Copyright (c) 2012, 2015, Credit Suisse (Anatole Tresch), Werner Keil and others by the @author tag.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of
@@ -31,7 +31,7 @@
3131
public class DefaultRoundingProvider implements RoundingProviderSpi {
3232

3333
public static final String DEFAULT_ROUNDING_ID = "default";
34-
private Set<String> roundingsIds = new HashSet<>();
34+
private final Set<String> roundingsIds = new HashSet<>();
3535

3636
public DefaultRoundingProvider() {
3737
roundingsIds.add(DEFAULT_ROUNDING_ID);
@@ -89,4 +89,4 @@ public Set<String> getRoundingNames() {
8989
return roundingsIds;
9090
}
9191

92-
}
92+
}

0 commit comments

Comments
 (0)