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 58a227ca // comment typo
58a227ca is described below

commit 58a227cafe1c66a118b021f3fa6e48067394444c
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 4 07:39:08 2023 -0400

    // comment typo
---
 src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java 
b/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
index 96e939c2..de4ed0b5 100644
--- a/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
+++ b/src/main/java/org/apache/commons/imaging/formats/tiff/TiffReader.java
@@ -45,6 +45,7 @@ import 
org.apache.commons.imaging.formats.tiff.taginfos.TagInfoDirectory;
 public class TiffReader extends BinaryFileParser {
 
     private static class Collector implements Listener {
+
         private TiffHeader tiffHeader;
         private final List<TiffDirectory> directories = new ArrayList<>();
         private final List<TiffField> fields = new ArrayList<>();
@@ -172,7 +173,7 @@ public class TiffReader extends BinaryFileParser {
         if (directory.imageDataInStrips()) {
             final TiffField rowsPerStripField = 
directory.findField(TiffTagConstants.TIFF_TAG_ROWS_PER_STRIP);
             /*
-             * Default value of rowsperstrip is assumed to be infinity
+             * Default value of rowsPerStripField is assumed to be infinity
              * 
http://www.awaresystems.be/imaging/tiff/tifftags/rowsperstrip.html
              */
             int rowsPerStrip = Integer.MAX_VALUE;

Reply via email to