commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535242 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java
Date Thu, 24 Oct 2013 00:36:09 GMT
Author: ggregory
Date: Thu Oct 24 00:36:09 2013
New Revision: 1535242

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

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

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java?rev=1535242&r1=1535241&r2=1535242&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoFloat.java
Thu Oct 24 00:36:09 2013
@@ -31,7 +31,7 @@ public class TagInfoFloat extends TagInf
         return ByteConversions.toFloats(bytes, byteOrder);
     }
     
-    public byte[] encodeValue(final ByteOrder byteOrder, final float... values) throws ImageWriteException
{
+    public byte[] encodeValue(final ByteOrder byteOrder, final float... values) {
         return ByteConversions.toBytes(values, byteOrder);
     }
 }



Mime
View raw message