3232 * @author Anatole
3333 */
3434public class FastMoneyTest {
35-
35+
3636 private static final Logger LOG = Logger .getLogger (MethodHandles .lookup ().lookupClass ().getName ());
3737
3838 private static final BigDecimal TEN = new BigDecimal (10.0d );
@@ -421,12 +421,12 @@ public void testMultiplyDouble(){
421421 FastMoney m = FastMoney .of (100 , "CHF" );
422422 assertEquals (FastMoney .of (new BigDecimal ("50.0" ), "CHF" ), m .multiply (0.5 ));
423423 }
424-
424+
425425 /**
426426 * Test method for {@link org.javamoney.moneta.FastMoney#multiply(double)}.
427427 */
428428 @ Test
429- public void testMultiplyDoublePositiveInfinity (){
429+ public void testMultiplyDoublePositiveInfinity () {
430430 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
431431 try {
432432 m .multiply (Double .POSITIVE_INFINITY );
@@ -435,12 +435,12 @@ public void testMultiplyDoublePositiveInfinity(){
435435 LOG .log (Level .FINE , "multiplying with POSITIVE_INFINITY fails as expected" , e );
436436 }
437437 }
438-
438+
439439 /**
440440 * Test method for {@link org.javamoney.moneta.FastMoney#multiply(double)}.
441441 */
442442 @ Test
443- public void testMultiplyDoubleNegativeInfinity (){
443+ public void testMultiplyDoubleNegativeInfinity () {
444444 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
445445 try {
446446 m .multiply (Double .NEGATIVE_INFINITY );
@@ -449,12 +449,12 @@ public void testMultiplyDoubleNegativeInfinity(){
449449 LOG .log (Level .FINE , "multiplying with NEGATIVE_INFINITY fails as expected" , e );
450450 }
451451 }
452-
452+
453453 /**
454454 * Test method for {@link org.javamoney.moneta.FastMoney#multiply(double)}.
455455 */
456456 @ Test
457- public void testMultiplyDoubleNaN (){
457+ public void testMultiplyDoubleNaN () {
458458 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
459459 try {
460460 m .multiply (Double .NaN );
@@ -463,12 +463,12 @@ public void testMultiplyDoubleNaN(){
463463 LOG .log (Level .FINE , "multiplying with NaN fails as expected" , e );
464464 }
465465 }
466-
466+
467467 /**
468468 * Test method for {@link org.javamoney.moneta.FastMoney#multiply(Number)}.
469469 */
470470 @ Test
471- public void testMultiplyNumberPositiveInfinity (){
471+ public void testMultiplyNumberPositiveInfinity () {
472472 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
473473 try {
474474 m .multiply (Double .valueOf (Double .POSITIVE_INFINITY ));
@@ -477,12 +477,12 @@ public void testMultiplyNumberPositiveInfinity(){
477477 LOG .log (Level .FINE , "multiplying with POSITIVE_INFINITY fails as expected" , e );
478478 }
479479 }
480-
480+
481481 /**
482482 * Test method for {@link org.javamoney.moneta.FastMoney#multiply(Number)}.
483483 */
484484 @ Test
485- public void testMultiplyNumberNegativeInfinity (){
485+ public void testMultiplyNumberNegativeInfinity () {
486486 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
487487 try {
488488 m .multiply (Double .valueOf (Double .NEGATIVE_INFINITY ));
@@ -491,12 +491,12 @@ public void testMultiplyNumberNegativeInfinity(){
491491 LOG .log (Level .FINE , "multiplying with NEGATIVE_INFINITY fails as expected" , e );
492492 }
493493 }
494-
494+
495495 /**
496496 * Test method for {@link org.javamoney.moneta.FastMoney#multiply(Number)}.
497497 */
498498 @ Test
499- public void testMultiplyNumberNaN (){
499+ public void testMultiplyNumberNaN () {
500500 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
501501 try {
502502 m .multiply (Double .valueOf (Double .NaN ));
@@ -505,12 +505,12 @@ public void testMultiplyNumberNaN(){
505505 LOG .log (Level .FINE , "multiplying with NaN fails as expected" , e );
506506 }
507507 }
508-
508+
509509 /**
510510 * Test method for {@link org.javamoney.moneta.FastMoney#divide(double)}.
511511 */
512512 @ Test
513- public void testDivideBadNaN (){
513+ public void testDivideBadNaN () {
514514 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
515515 try {
516516 m .divide (Double .NaN );
@@ -525,12 +525,12 @@ public void testDivideBadNaN(){
525525 LOG .log (Level .FINE , "dividing by NaN fails as expected" , e );
526526 }
527527 }
528-
528+
529529 /**
530530 * Test method for {@link org.javamoney.moneta.FastMoney#divide(double)}.
531531 */
532532 @ Test
533- public void testDivideInfinityDoubles (){
533+ public void testDivideInfinityDoubles () {
534534 double [] values = new double []{Double .POSITIVE_INFINITY , Double .NEGATIVE_INFINITY };
535535 FastMoney m = FastMoney .of (new BigDecimal ("50.0" ), "USD" );
536536 for (double d : values ) {
0 commit comments