#99 fixed `toJavaRDD` method invocations