lan.liang created SCB-1546:
------------------------------

             Summary: fix wrong code for sample
                 Key: SCB-1546
                 URL: https://issues.apache.org/jira/browse/SCB-1546
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
            Reporter: lan.liang


have some wrong code in 
org.apache.servicecomb.samples.bmi.CalculatorServiceImpl#roundToOnePrecision



return new BigDecimal.valueOf(value).setScale(1, 
RoundingMode.HALF_UP).doubleValue();

valueOf is a static method






 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to