Changed the java code example
Update librados-intro.rst
Merge pull request #1731 from dynamike67/patch-2

doc: Changed the java code example