bhlangonijr / chesslib

chess library for legal move generation, FEN/PGN parsing and more
Apache License 2.0
229 stars 80 forks source link

use apache commons stringutils #102

Closed dcolazin closed 1 year ago

dcolazin commented 1 year ago

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("")).