commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1545597 - /commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java
Date Tue, 26 Nov 2013 10:15:38 GMT
Author: ebourg
Date: Tue Nov 26 10:15:38 2013
New Revision: 1545597

URL: http://svn.apache.org/r1545597
Log:
Fixed a compilation error in the examples

Modified:
    commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java?rev=1545597&r1=1545596&r2=1545597&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/WriteExifMetadataExample.java
Tue Nov 26 10:15:38 2013
@@ -120,7 +120,7 @@ public class WriteExifMetadataExample {
                 exifDirectory
                         .removeField(ExifTagConstants.EXIF_TAG_APERTURE_VALUE);
                 exifDirectory.add(ExifTagConstants.EXIF_TAG_APERTURE_VALUE,
-                        RationalNumber.factoryMethod(3, 10));
+                        new RationalNumber(3, 10));
             }
 
             {



Mime
View raw message