Unnecessary semicolons
Static methods declared final
Use <> and fixup Varargs
Removed deprecated method
Fix possible null pointer
FINAL
Bag now implements Collection<?>
fix imports
java 1.7 style for loops over collections