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/07/04 11:42:34 UTC

[commons-imaging] branch master updated: Update URL to HTTPS and comment style in getTiffRawImageData()

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 74595fb3 Update URL to HTTPS and comment style in getTiffRawImageData()
74595fb3 is described below

commit 74595fb3c6905caa2aeba06f8785ab505f8bd188
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 4 07:42:30 2023 -0400

    Update URL to HTTPS and comment style in getTiffRawImageData()
---
 .../apache/commons/imaging/formats/tiff/TiffReader.java  | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

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 de4ed0b5..c1522246 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
@@ -172,20 +172,20 @@ public class TiffReader extends BinaryFileParser {
 
         if (directory.imageDataInStrips()) {
             final TiffField rowsPerStripField = directory.findField(TiffTagConstants.TIFF_TAG_ROWS_PER_STRIP);
-            /*
-             * Default value of rowsPerStripField is assumed to be infinity
-             * http://www.awaresystems.be/imaging/tiff/tifftags/rowsperstrip.html
-             */
+            //
+            // Default value of rowsPerStripField is assumed to be infinity
+            // https://www.awaresystems.be/imaging/tiff/tifftags/rowsperstrip.html
+            //
             int rowsPerStrip = Integer.MAX_VALUE;
 
             if (null != rowsPerStripField) {
                 rowsPerStrip = rowsPerStripField.getIntValue();
             } else {
                 final TiffField imageHeight = directory.findField(TiffTagConstants.TIFF_TAG_IMAGE_LENGTH);
-                /**
-                 * if rows per strip not present then rowsPerStrip is equal to
-                 * imageLength or an infinity value;
-                 */
+                //
+                // if rows per strip not present then rowsPerStrip is equal to
+                // imageLength or an infinity value;
+                //
                 if (imageHeight != null) {
                     rowsPerStrip = imageHeight.getIntValue();
                 }