This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
The following commit(s) were added to refs/heads/master by this push: new 3debe7d Clean up exceptions. 3debe7d is described below commit 3debe7d6c50ec211d4bdbcc8beae169fab03e9bf Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Sun Mar 31 09:40:15 2019 -0400 Clean up exceptions. --- .../org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java | 2 +- .../java/org/apache/commons/imaging/formats/tiff/TiffLzwTest.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java b/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java index 451a625..e742d0c 100644 --- a/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java +++ b/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriteTest.java @@ -173,7 +173,7 @@ public class ExifRewriteTest extends ExifBaseTest { } private void rewrite(final Rewriter rewriter, final String name) throws IOException, - ImageReadException, ImageWriteException { + ImageReadException { final List<File> images = getImagesWithExifData(); for (int i = 0; i < images.size(); i++) { diff --git a/src/test/java/org/apache/commons/imaging/formats/tiff/TiffLzwTest.java b/src/test/java/org/apache/commons/imaging/formats/tiff/TiffLzwTest.java index c887c73..4c4448a 100644 --- a/src/test/java/org/apache/commons/imaging/formats/tiff/TiffLzwTest.java +++ b/src/test/java/org/apache/commons/imaging/formats/tiff/TiffLzwTest.java @@ -29,7 +29,6 @@ import java.util.Collections; import java.util.List; import org.apache.commons.imaging.ImageReadException; -import org.apache.commons.imaging.ImageWriteException; import org.apache.commons.imaging.common.bytesource.ByteSource; import org.apache.commons.imaging.common.bytesource.ByteSourceFile; import org.apache.commons.imaging.common.mylzw.MyLzwCompressor; @@ -61,8 +60,7 @@ public class TiffLzwTest extends TiffBaseTest { @Ignore // FIXME fails with java.io.IOException: Bad Code: -1 codes: 258 code_size: 9, table: 4096 @Test - public void testTiffImageData() throws IOException, ImageReadException, - ImageWriteException { + public void testTiffImageData() throws IOException, ImageReadException { final List<File> images = getTiffImages(); for (final File image : images) {