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 ```