commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535241 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoDouble.java
Date Thu, 24 Oct 2013 00:35:44 GMT
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);
     }
 }



Mime
View raw message