LANG-1018: add changes.xml entry
add test for LANG-1187: Method createNumber from NumberUtils doesn't work for floating point numbers other than Float (fixed by LANG-1018) add test for LANG-1215: NumberUtils.createNumber() method lost precision sometimes (fixed by LANG-1018) side-effects: close #9, close #7, close #93
This commit is contained in:
parent
8d6bc0ca62
commit
d2fb3b0865
|
@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<body>
|
||||
|
||||
<release version="3.5" date="tba" description="tba">
|
||||
<action issue="LANG-1018" type="fix" dev="pschumacher" due-to="Nick Manley">Fix precision loss on NumberUtils.createNumber(String)</action>
|
||||
<action issue="LANG-1229" type="update" dev="pschumacher" due-to="Ruslan Cheremin">HashCodeBuilder.append(Object,Object) is too big to be inlined, which prevents whole builder to be scalarized</action>
|
||||
<action issue="LANG-1085" type="add" dev="oheger" due-to="oheger / kinow">Add a circuit breaker implementation</action>
|
||||
<action issue="LANG-1013" type="add" dev="pschumacher" due-to="Thiago Andrade">Add StringUtils.truncate()</action>
|
||||
|
|
|
@ -246,6 +246,12 @@ public class NumberUtilsTest {
|
|||
// LANG-1018
|
||||
assertEquals("createNumber(String) LANG-1018 failed",
|
||||
Double.valueOf("-160952.54"), NumberUtils.createNumber("-160952.54"));
|
||||
// LANG-1187
|
||||
assertEquals("createNumber(String) LANG-1187 failed",
|
||||
Double.valueOf("6264583.33"), NumberUtils.createNumber("6264583.33"));
|
||||
// LANG-1215
|
||||
assertEquals("createNumber(String) LANG-1215 failed",
|
||||
Double.valueOf("193343.82"), NumberUtils.createNumber("193343.82"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue