commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1391254 - in /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos: TagInfoLong.java TagInfoRational.java TagInfoSByte.java TagInfoSRational.java
Date Thu, 27 Sep 2012 22:51:20 GMT
Author: sebb
Date: Thu Sep 27 22:51:20 2012
New Revision: 1391254

URL: http://svn.apache.org/viewvc?rev=1391254&view=rev
Log:
Exception not thrown

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoRational.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSByte.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRational.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java?rev=1391254&r1=1391253&r2=1391254&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoLong.java
Thu Sep 27 22:51:20 2012
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.imaging.formats.tiff.taginfos;
 
-import org.apache.commons.imaging.ImageWriteException;
 import org.apache.commons.imaging.common.BinaryConversions;
 import org.apache.commons.imaging.formats.tiff.constants.TiffDirectoryType;
 
@@ -34,7 +33,7 @@ public class TagInfoLong extends TagInfo
         return BinaryConversions.convertToIntArray(bytes, byteOrder);
     }
     
-    public byte[] encodeValue(int byteOrder, int... values) throws ImageWriteException {
+    public byte[] encodeValue(int byteOrder, int... values) {
         return BinaryConversions.convertToByteArray(values, byteOrder);
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoRational.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoRational.java?rev=1391254&r1=1391253&r2=1391254&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoRational.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoRational.java
Thu Sep 27 22:51:20 2012
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.imaging.formats.tiff.taginfos;
 
-import org.apache.commons.imaging.ImageWriteException;
 import org.apache.commons.imaging.common.BinaryConversions;
 import org.apache.commons.imaging.common.RationalNumber;
 import org.apache.commons.imaging.formats.tiff.constants.TiffDirectoryType;
@@ -30,7 +29,7 @@ public class TagInfoRational extends Tag
         return BinaryConversions.convertToRationalArray(bytes, byteOrder);
     }
     
-    public byte[] encodeValue(int byteOrder, RationalNumber... values) throws ImageWriteException
{
+    public byte[] encodeValue(int byteOrder, RationalNumber... values) {
         return BinaryConversions.convertToByteArray(values, byteOrder);
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSByte.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSByte.java?rev=1391254&r1=1391253&r2=1391254&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSByte.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSByte.java
Thu Sep 27 22:51:20 2012
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.imaging.formats.tiff.taginfos;
 
-import org.apache.commons.imaging.ImageWriteException;
 import org.apache.commons.imaging.formats.tiff.constants.TiffDirectoryType;
 
 public class TagInfoSByte extends TagInfo {
@@ -24,7 +23,7 @@ public class TagInfoSByte extends TagInf
         super(name, tag, FIELD_TYPE_SBYTE, length, directoryType);
     }
 
-    public byte[] encodeValue(int byteOrder, byte... values) throws ImageWriteException {
+    public byte[] encodeValue(int byteOrder, byte... values) {
         return values;
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRational.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRational.java?rev=1391254&r1=1391253&r2=1391254&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRational.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/taginfos/TagInfoSRational.java
Thu Sep 27 22:51:20 2012
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.imaging.formats.tiff.taginfos;
 
-import org.apache.commons.imaging.ImageWriteException;
 import org.apache.commons.imaging.common.BinaryConversions;
 import org.apache.commons.imaging.common.RationalNumber;
 import org.apache.commons.imaging.formats.tiff.constants.TiffDirectoryType;
@@ -30,7 +29,7 @@ public class TagInfoSRational extends Ta
         return BinaryConversions.convertToRationalArray(bytes, byteOrder);
     }
     
-    public byte[] encodeValue(int byteOrder, RationalNumber... values) throws ImageWriteException
{
+    public byte[] encodeValue(int byteOrder, RationalNumber... values) {
         return BinaryConversions.convertToByteArray(values, byteOrder);
     }
 }



Mime
View raw message