3
coder87
8y

StringUtils.isNumeric(String s)

From Apache commons-lang library will return TRUE for empty string. I learned that today the hard way...you don't need to make the same mistake... :)

Just update it to lang3 if you are working on legacy code and everyone will be happy...

Comments
Add Comment