Fixed a typo + removed a todo.

This commit is contained in:
Harald Kuhr 2012-02-02 17:00:08 +01:00
parent c3524adbbc
commit 3efae7cfba

View File

@ -598,7 +598,7 @@ public class JPEGImageReader extends ImageReaderBase {
} }
break; break;
default: default:
throw new IIOException("Unknown photometric interpretation for RAW EXIF thumbail: " + interpretation); throw new IIOException("Unknown photometric interpretation for RAW EXIF thumbnail: " + interpretation);
} }
thumbnails.add(readRawThumbnail(thumbData, thumbData.length, 0, w, h)); thumbnails.add(readRawThumbnail(thumbData, thumbData.length, 0, w, h));
@ -835,7 +835,6 @@ public class JPEGImageReader extends ImageReaderBase {
delegate.abort(); delegate.abort();
} }
// TODO: Fix thumbnails based on JFIF and EXIF thumbnails
@Override @Override
public boolean readerSupportsThumbnails() { public boolean readerSupportsThumbnails() {
return true; // We support EXIF thumbnails, even if no JFIF thumbnail is present return true; // We support EXIF thumbnails, even if no JFIF thumbnail is present