You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/15 13:10:17 UTC

[commons-imaging] branch master updated: Fix typos

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


The following commit(s) were added to refs/heads/master by this push:
     new 72a9ccf5 Fix typos
72a9ccf5 is described below

commit 72a9ccf52c81e7bb34cad09dc52160c03646fb04
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 15 08:10:13 2023 -0500

    Fix typos
---
 src/changes/changes.xml                                               | 2 +-
 .../commons/imaging/formats/tiff/datareaders/ImageDataReader.java     | 4 ++--
 .../floatingpoint/PhotometricInterpreterFloat.java                    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c2ee134d..fe5dea18 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -556,7 +556,7 @@ The <action> type attribute can be add,update,fix,remove.
         Fixed issue "FieldTypeASCII does not conform to the EXIF specification," identified by Libor Nenadál.
       </action>
       <action issue="IMAGING-31" dev="cmchen" type="fix">
-        Fixed a bug in which gifs have incorrect size information in the the Logical Screen Descriptor.
+        Fixed a bug in which gifs have incorrect size information in the Logical Screen Descriptor.
         This appears to be a bug in how Microsoft Office writes gifs. The Image Descriptor has the correct value.
       </action>
       <action issue="IMAGING-13" dev="cmchen" type="fix">
diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java
index 95fdf1f6..47c31122 100644
--- a/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java
+++ b/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java
@@ -405,7 +405,7 @@ public abstract class ImageDataReader {
      * @param bitsPerPixel the number of bits per sample, 32 or 64.
      * @param byteOrder the byte order for the source data
      * @return a valid array of integers in row major order, dimensions
-     * scan-size wide and height height.
+     * scan-size wide and height.
      * @throws ImageReadException in the event of an invalid format.
      */
     protected int[] unpackFloatingPointSamples(
@@ -609,7 +609,7 @@ public abstract class ImageDataReader {
      * @param bitsPerSample the number of bits per sample, 32 or 64.
      * @param byteOrder the byte order for the source data
      * @return a valid array of integers in row major order, dimensions
-     * scan-size wide and height height.
+     * scan-size wide and height.
      */
     protected int[] unpackIntSamples(
         final int width,
diff --git a/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java b/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
index f96f6e72..e2a2f779 100644
--- a/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
+++ b/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
@@ -117,7 +117,7 @@ public class PhotometricInterpreterFloat extends PhotometricInterpreter {
      * <p>
      * Although there is no prohibition against using palette entries with overlapping ranges,
      * the behavior of such specifications is undefined and subject to change in the future.
-     * Therefore, it is not recommended.  The exception in in the use of single-value
+     * Therefore, it is not recommended.  The exception in the use of single-value
      * palette entries which may be used to override the specifications for ranges.
      *
      * @param paletteEntries a valid, non-empty list of palette entries