fixed MLlib Naive-Bayes java example bug