I propose the use of the Apache Commons library or, at least, their StringUtils class (it should be possible to import just that class, and they also use the Apache License). The code should be more readable (mainly the string != null && !string.equals("")).
I propose the use of the Apache Commons library or, at least, their StringUtils class (it should be possible to import just that class, and they also use the Apache License). The code should be more readable (mainly the string != null && !string.equals("")).