Fixes #185, adds missing parens to ArrayList example