minor JavaDoc typo fix
minor code style updates