Added @Override Annotation
used .isEmpty instead of != 0
Removed manual array copying. Performance reasons.
used .append  for String Concatenation. Helps performance.
removed redundant if statement
replaced assignment with operator-assignment
Merge pull request #176 from frostalf/master

Cleanup PR. Does not actually change how things work.