This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit fe425c4b745a254f7c571f9a5be0b4c91a22482a Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun Apr 27 10:27:46 2025 -0400 Javadoc --- src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java | 2 +- .../imaging/formats/tiff/datareaders/AbstractImageDataReader.java | 2 +- .../java/org/apache/commons/imaging/formats/webp/WebPImageParser.java | 2 +- .../commons/imaging/formats/jpeg/exif/ExifRewriterRoundtripTest.java | 2 +- .../commons/imaging/formats/tiff/TiffFloatingPointReadTest.java | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java b/src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java index 1b79217f..cd2addd3 100644 --- a/src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java +++ b/src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java @@ -197,7 +197,7 @@ public final class BinaryFunctions { } /** - * Read eight bytes from the specified input stream, adjust for byte order, and return a long integer. + * Reads eight bytes from the specified input stream, adjust for byte order, and return a long integer. * * @param name a descriptive identifier used for diagnostic purposes * @param in a valid input stream diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/AbstractImageDataReader.java b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/AbstractImageDataReader.java index f8ce13d6..1a523b1b 100644 --- a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/AbstractImageDataReader.java +++ b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/AbstractImageDataReader.java @@ -302,7 +302,7 @@ public abstract class AbstractImageDataReader { } /** - * Read the image data from the IFD associated with this instance of ImageDataReader using the optional sub-image specification if desired. + * Reads the image data from the IFD associated with this instance of ImageDataReader using the optional sub-image specification if desired. * * @param subImageSpecification a rectangle describing a sub-region of the image for reading, or a null if the whole image is to be read. * @param hasAlpha indicates that the image has an alpha (transparency) channel (RGB color model only). diff --git a/src/main/java/org/apache/commons/imaging/formats/webp/WebPImageParser.java b/src/main/java/org/apache/commons/imaging/formats/webp/WebPImageParser.java index 3af52a68..caeae033 100644 --- a/src/main/java/org/apache/commons/imaging/formats/webp/WebPImageParser.java +++ b/src/main/java/org/apache/commons/imaging/formats/webp/WebPImageParser.java @@ -134,7 +134,7 @@ public class WebPImageParser extends AbstractImageParser<WebPImagingParameters> private static final String[] ACCEPTED_EXTENSIONS = ImageFormats.WEBP.getExtensions(); /** - * Read the file header of WebP file. + * Reads the file header of WebP file. * * @return file size in file header (including the WebP signature, excluding the TIFF signature and the file size field). */ diff --git a/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriterRoundtripTest.java b/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriterRoundtripTest.java index 85644bbc..966e4b31 100644 --- a/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriterRoundtripTest.java +++ b/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriterRoundtripTest.java @@ -47,7 +47,7 @@ import org.junit.jupiter.params.provider.MethodSource; import org.opentest4j.TestSkippedException; /** - * Read and write EXIF data, and verify that it's identical, and no data corruption occurred. + * Reads and write EXIF data, and verify that it's identical, and no data corruption occurred. */ public class ExifRewriterRoundtripTest extends AbstractExifTest { diff --git a/src/test/java/org/apache/commons/imaging/formats/tiff/TiffFloatingPointReadTest.java b/src/test/java/org/apache/commons/imaging/formats/tiff/TiffFloatingPointReadTest.java index 83d530e5..dde4a121 100644 --- a/src/test/java/org/apache/commons/imaging/formats/tiff/TiffFloatingPointReadTest.java +++ b/src/test/java/org/apache/commons/imaging/formats/tiff/TiffFloatingPointReadTest.java @@ -72,7 +72,7 @@ public class TiffFloatingPointReadTest { } /** - * Read a TIFF file using a PhotometricInterpreter with entries for the specified range of values and an arbitrary no-data value. If the image is + * Reads a TIFF file using a PhotometricInterpreter with entries for the specified range of values and an arbitrary no-data value. If the image is * successfully read, the interpreter instance will be returned. * * @param target the specified TIFF file @@ -108,7 +108,7 @@ public class TiffFloatingPointReadTest { } /** - * Read the floating-point content from a TIFF file. + * Reads the floating-point content from a TIFF file. * * @param target the specified TIFF file * @param params an optional map of parameters for reading.