You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/10/24 02:35:44 UTC

svn commit: r1535241 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java

Author: ggregory
Date: Thu Oct 24 00:35:44 2013
New Revision: 1535241

URL: http://svn.apache.org/r1535241
Log:
The declared exception ImageWriteException is not actually thrown by the method encodeValue(ByteOrder, double...) from type TagInfoDouble.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java?rev=1535241&r1=1535240&r2=1535241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java Thu Oct 24 00:35:44 2013
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.imaging.formats.tiff.taginfos;
 
-import org.apache.commons.imaging.ImageWriteException;
 import org.apache.commons.imaging.common.ByteConversions;
 import org.apache.commons.imaging.common.ByteOrder;
 import org.apache.commons.imaging.formats.tiff.constants.TiffDirectoryType;
@@ -31,7 +30,7 @@ public class TagInfoDouble extends TagIn
         return ByteConversions.toDoubles(bytes, byteOrder);
     }
     
-    public byte[] encodeValue(final ByteOrder byteOrder, final double... values) throws ImageWriteException {
+    public byte[] encodeValue(final ByteOrder byteOrder, final double... values) {
         return ByteConversions.toBytes(values, byteOrder);
     }
 }