code analysis: typos / javadoc update