[scala] Remove unused code
[scala] Add notes about JSR 223