Fixes issue 2075. Added some javadoc to account for the potential NPE. Review by: spoon git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1884 8db76d5a-ed1c-0410-87a9-c151d255dfc7