View by Classes

Findings - Overview

warning Method passes double value to BigDecimal Constructor (Findbugs)

Method org.jcoderz.phoenix.report.samples.SimplePmdFindings.<static initializer>() passes double value to BigDecimal Constructor (sample)

Further info on the wiki.

This method calls the BigDecimal constructor that takes a double, and passes a literal double constant value. Since the use of BigDecimal is to get better precision than double, by passing a double, you only get the precision of double number space. To take advantage of the BigDecimal space, pass the number as a string.

1org.jcoderz.phoenix.report.samples.SimplePmdFindings
 [51]