commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1655150 - /commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadWriteTagsTest.java
Date Tue, 27 Jan 2015 20:26:14 GMT
Author: britter
Date: Tue Jan 27 20:26:14 2015
New Revision: 1655150

URL: http://svn.apache.org/r1655150
Log:
Help JDK 6 to find the correct method overload

Modified:
    commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadWriteTagsTest.java

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadWriteTagsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadWriteTagsTest.java?rev=1655150&r1=1655149&r2=1655150&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadWriteTagsTest.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadWriteTagsTest.java
Tue Jan 27 20:26:14 2015
@@ -58,7 +58,7 @@ public class TiffReadWriteTagsTest exten
         dir.add(TiffTagConstants.TIFF_TAG_YRESOLUTION, twoThirds);
         dir.add(TiffTagConstants.TIFF_TAG_T4_OPTIONS, t4Options);
         dir.add(TiffTagConstants.TIFF_TAG_IMAGE_WIDTH, width);
-        dir.add(TiffTagConstants.TIFF_TAG_IMAGE_LENGTH, height);
+        dir.add(TiffTagConstants.TIFF_TAG_IMAGE_LENGTH, new short[]{height});
         dir.add(GpsTagConstants.GPS_TAG_GPS_AREA_INFORMATION, area);
         dir.add(MicrosoftHdPhotoTagConstants.EXIF_TAG_WIDTH_RESOLUTION, widthRes);
         dir.add(GeoTiffTagConstants.EXIF_TAG_GEO_DOUBLE_PARAMS_TAG, geoDoubleParams);



Mime
View raw message