Uses generic List instead of ArrayList
Concatenates strings the Groovy way
Removes public qualifiers
Removes all the return keywords to improve readability
Enforces param type in the credentials saving method