oops, it did not compile. fixed
mongo java driver 2.11.0