LGPL allows commercial use without authorization though you have to read and reread to get that from the license text.
FreeBSD license has more clear language and serves to basically disclaim all liabilities and prevent redistribution as your own source code.
Code like this is more of a book tutorial and not really a complete software package or even a library. It should have been put under LGPL.
Copy, paste, and modify, and you really won't know the difference in an obfuscated jar.
Licensing of the source under GPL was not really appropiate since it acts as a patent for general knowledge--which can be probably be legally argued.