[ 
https://issues.apache.org/jira/browse/SCB-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubao resolved SCB-1546.
-------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: java-chassis-2.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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