Fixed a typo in setObject method javadoc

This patch fixes a tiny typo in setObject method javadoc.