Fix quality flaws

  - line length
  - uslessles import
  - indentation
  - useless parenthesis in expression
  - comparison uding equal
  - use Java collection interface for declaration instead of implementation
  - add @Override when missing