Github user britter commented on a diff in the pull request:
https://github.com/apache/commons-lang/pull/186#discussion_r78293587
--- Diff: src/main/java/org/apache/commons/lang3/math/NumberUtils.java ---
@@ -1374,8 +1407,11 @@ public static boolean isNumber(final String str) {
boolean hasDecPoint = false;
boolean allowSigns = false;
boolean foundDigit = false;
+ boolean isJava6 = StringUtils.startsWith(
+ System.getProperty("java.version"), "1.6");
--- End diff --
You can better use `SystemUtils`for this. But I'm about to extend
`JavaVersion` in for
[LANG-1263](https://issues.apache.org/jira/browse/LANG-1263) so that will make
this even easier. I'll ping you when I have that finished.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---