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 32dd6aff7ad5a67a2855d80b4ac35fb0fa2b9bf8
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 4 08:05:01 2023 -0400

    Update URLs in comments
    
    - Document broken URLs
    - Use HTTPS instead of HTTP in comments where available
    - Format tweaks
---
 .../java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java 
b/src/main/java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java
index 2a5fb4cf..b46959d4 100644
--- a/src/main/java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java
+++ b/src/main/java/org/apache/commons/imaging/formats/bmp/BmpImageParser.java
@@ -371,7 +371,7 @@ public class BmpImageParser extends 
ImageParser<BmpImagingParameters> {
         colorsImportant = read4Bytes("ColorsImportant", is, "Not a Valid BMP 
File", getByteOrder());
         if (bitmapHeaderSize >= 52 || compression == BI_BITFIELDS) {
             // 52 = BITMAPV2INFOHEADER, now undocumented
-            // see http://en.wikipedia.org/wiki/BMP_file_format
+            // see https://en.wikipedia.org/wiki/BMP_file_format
             redMask = read4Bytes("RedMask", is, "Not a Valid BMP File", 
getByteOrder());
             greenMask = read4Bytes("GreenMask", is, "Not a Valid BMP File", 
getByteOrder());
             blueMask = read4Bytes("BlueMask", is, "Not a Valid BMP File", 
getByteOrder());
@@ -379,7 +379,7 @@ public class BmpImageParser extends 
ImageParser<BmpImagingParameters> {
         if (bitmapHeaderSize >= 56) {
             // 56 = the now undocumented BITMAPV3HEADER sometimes used by
             // Photoshop
-            // see http://forums.adobe.com/thread/751592?tstart=1
+            // see [BROKEN URL] http://forums.adobe.com/thread/751592?tstart=1
             alphaMask = read4Bytes("AlphaMask", is, "Not a Valid BMP File", 
getByteOrder());
         }
         if (bitmapHeaderSize >= 108) {

Reply via email to