LANG-1017: Use non-ASCII digits in Javadoc examples for StringUtils.isNumeric. Thanks to Christoph Schneegans.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1599322 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f9a427dc6
commit
d96586563c
|
@ -22,6 +22,7 @@
|
|||
<body>
|
||||
|
||||
<release version="3.4" date="tba" description="tba">
|
||||
<action issue="LANG-1017" type="update" dev="britter" due-to="Christoph Schneegans">Use non-ASCII digits in Javadoc examples for StringUtils.isNumeric</action>
|
||||
<action issue="LANG-1008" type="update" dev="britter" due-to="Thiago Andrade">Change min/max methods in NumberUtils/IEEE754rUtils from array input parameters to varargs</action>
|
||||
<action issue="LANG-999" type="add" dev="britter" due-to="Ben Ripkens">Add fuzzy String matching logic to StringUtils</action>
|
||||
<action issue="LANG-1006" type="update" dev="britter" due-to="Thiago Andrade">Add wrap (with String or char) to StringUtils</action>
|
||||
|
|
|
@ -6017,6 +6017,7 @@ public class StringUtils {
|
|||
* StringUtils.isNumeric("") = false
|
||||
* StringUtils.isNumeric(" ") = false
|
||||
* StringUtils.isNumeric("123") = true
|
||||
* StringUtils.isNumeric("\u0967\u0968\u0969") = true
|
||||
* StringUtils.isNumeric("12 3") = false
|
||||
* StringUtils.isNumeric("ab2c") = false
|
||||
* StringUtils.isNumeric("12-3") = false
|
||||
|
@ -6057,6 +6058,8 @@ public class StringUtils {
|
|||
* StringUtils.isNumericSpace(" ") = true
|
||||
* StringUtils.isNumericSpace("123") = true
|
||||
* StringUtils.isNumericSpace("12 3") = true
|
||||
* StringUtils.isNumeric("\u0967\u0968\u0969") = true
|
||||
* StringUtils.isNumeric("\u0967\u0968 \u0969") = true
|
||||
* StringUtils.isNumericSpace("ab2c") = false
|
||||
* StringUtils.isNumericSpace("12-3") = false
|
||||
* StringUtils.isNumericSpace("12.3") = false
|
||||
|
|
|
@ -143,6 +143,8 @@ public class StringUtilsIsTest {
|
|||
assertFalse(StringUtils.isNumeric("ham kso"));
|
||||
assertTrue(StringUtils.isNumeric("1"));
|
||||
assertTrue(StringUtils.isNumeric("1000"));
|
||||
assertTrue(StringUtils.isNumeric("\u0967\u0968\u0969"));
|
||||
assertFalse(StringUtils.isNumeric("\u0967\u0968 \u0969"));
|
||||
assertFalse(StringUtils.isNumeric("2.3"));
|
||||
assertFalse(StringUtils.isNumeric("10 00"));
|
||||
assertFalse(StringUtils.isNumeric("hkHKHik6iUGHKJgU7tUJgKJGI87GIkug"));
|
||||
|
@ -165,6 +167,8 @@ public class StringUtilsIsTest {
|
|||
assertTrue(StringUtils.isNumericSpace("1000"));
|
||||
assertFalse(StringUtils.isNumericSpace("2.3"));
|
||||
assertTrue(StringUtils.isNumericSpace("10 00"));
|
||||
assertTrue(StringUtils.isNumericSpace("\u0967\u0968\u0969"));
|
||||
assertTrue(StringUtils.isNumericSpace("\u0967\u0968 \u0969"));
|
||||
assertFalse(StringUtils.isNumericSpace("hkHKHik6iUGHKJgU7tUJgKJGI87GIkug"));
|
||||
assertFalse(StringUtils.isNumericSpace("_"));
|
||||
assertFalse(StringUtils.isNumericSpace("hkHKHik*khbkuh"));
|
||||
|
|
Loading…
Reference in New Issue