apidoc
removed redundant cast
check if ImageInfo is null
java7 and deprecation notes