Exception was constructed but never thrown.
Removed duplicated null check in ImagePyramidReader. Corrected typos in javadoc.