File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed 
src/main/java/org/javamoney/moneta/internal Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3030 */ 
3131public  class  DefaultRoundingProvider  implements  RoundingProviderSpi  {
3232
33-     private  static  final  String  DEFAULT_ROUNDING_ID  = "default" ;
34-     private  Set <String > roundingsIds  = new  HashSet <>();
33+     private  static  final  String  DEFAULT_ROUNDING_NAME  = "default" ;
34+     private  Set <String > roundingsNames  = new  HashSet <>();
3535
3636    public  DefaultRoundingProvider () {
37-         roundingsIds .add (DEFAULT_ROUNDING_ID );
38-         roundingsIds  = Collections .unmodifiableSet (roundingsIds );
37+         roundingsNames .add (DEFAULT_ROUNDING_NAME );
38+         roundingsNames  = Collections .unmodifiableSet (roundingsNames );
3939    }
4040
4141    @ Override 
@@ -77,7 +77,7 @@ public MonetaryRounding getRounding(RoundingQuery roundingQuery) {
7777            return  new  DefaultRounding (scale , mc .getRoundingMode ());
7878        } else  if  (roundingMode  != null ) {
7979            return  new  DefaultRounding (scale , roundingMode );
80-         } else  if  (roundingQuery .getRoundingName () != null  && DEFAULT_ROUNDING_ID .equals (roundingQuery .getRoundingName ())) {
80+         } else  if  (roundingQuery .getRoundingName () != null  && DEFAULT_ROUNDING_NAME .equals (roundingQuery .getRoundingName ())) {
8181            return  Monetary .getDefaultRounding ();
8282        }
8383        return  null ;
@@ -86,7 +86,7 @@ public MonetaryRounding getRounding(RoundingQuery roundingQuery) {
8686
8787    @ Override 
8888    public  Set <String > getRoundingNames () {
89-         return  roundingsIds ;
89+         return  roundingsNames ;
9090    }
9191
9292}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments