Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0-alpha1
Description
ImageParser#getBufferedImage() specification tell in documentation :
ImageParser#getBufferedImage()
/** ... * @param params Optional instructions for special-handling or * interpretation of the input data (null objects are permitted and * must be supported by implementations). ... **/
Implementation PngImageParser#getBufferedImage() does note respect this documentation. Indeed, first line of the function is :
PngImageParser#getBufferedImage() line 637
if (params.containsKey(PARAM_KEY_VERBOSE)) {
params.remove(PARAM_KEY_VERBOSE);
}
I suppose It would be
FIX PngImageParser#getBufferedImage()
if (params!=null && params.containsKey(PARAM_KEY_VERBOSE)) { params.remove(PARAM_KEY_VERBOSE); }