From 6c8bc524d928ce0203018de27d530a024f0668be Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 21 Apr 2016 15:44:03 +0100 Subject: [PATCH] Remove scroll windows --- specifics/700_beware_casts_and_generics_warnings.md | 2 +- specifics/900_avoid_floats_and_doubles.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/specifics/700_beware_casts_and_generics_warnings.md b/specifics/700_beware_casts_and_generics_warnings.md index 75708ab..8b6e423 100644 --- a/specifics/700_beware_casts_and_generics_warnings.md +++ b/specifics/700_beware_casts_and_generics_warnings.md @@ -56,7 +56,7 @@ List ls = l; The compiler will issue: ``` -Type safety: The expression of type List needs unchecked conversion to conform to List` +The expression of type List needs unchecked conversion to conform to List` ``` Make sure that all such warnings should be addressed, either by imposing a zero compiler warnings policy or by configuring the compiler to treat them as errors. diff --git a/specifics/900_avoid_floats_and_doubles.md b/specifics/900_avoid_floats_and_doubles.md index d784259..8310db8 100644 --- a/specifics/900_avoid_floats_and_doubles.md +++ b/specifics/900_avoid_floats_and_doubles.md @@ -64,6 +64,7 @@ Note that, although `BigDecimal` can be constructed from a float, this takes us , numberTransactions , balance.subtract(transationCost.multiply(numberTransactions))); - // Gives After 7 transactions balance is 1.2999999999999999611421941381195210851728916168212890625 + // Gives After 7 transactions + // balance is 1.2999999999999999611421941381195210851728916168212890625 ```