TDI-20824 fixed: the IS_ALPHA routine were wrong if the last character (only) was a numeric

git-svn-id: http://talendforge.org/svn/tos/trunk@82364 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
rdubois
2012-04-24 06:21:25 +00:00
parent 3b2efa0154
commit d6d4c267be

View File

@@ -48,7 +48,7 @@ public class StringHandling {
if (input != null) {
char[] val = input.toCharArray();
for (int i = 0; i < val.length - 1; i++) {
for (int i = 0; i < val.length; i++) {
if (!Character.isLetter(val[i])) {
return false;
}