fix setting reference typo in java/format.rst