Some small code improvements proposed by Rosjier Lammers, Waikato Summer Intern.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10381 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Applied two small code improvements suggested by Rosjier Lammers, FCMS Summer Intern.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10382 e0a1b77d-ad91-4216-81b1-defd5f83fa92