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 12:15:11 UTC

[commons-imaging] 19/32: Update URLs in comments

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 2370e94be175df0b1864e34b436aaa99fc052b70
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 4 08:11:38 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/jpeg/JpegImageParser.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java b/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
index 42f1cd62..2ce15298 100644
--- a/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
+++ b/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
@@ -480,7 +480,7 @@ public class JpegImageParser extends ImageParser<JpegImagingParameters> implemen
         boolean transparent = false;
         final boolean usesPalette = false; // TODO: inaccurate.
 
-        // See http://docs.oracle.com/javase/6/docs/api/javax/imageio/metadata/doc-files/jpeg_metadata.html#color
+        // See https://docs.oracle.com/javase/8/docs/api/javax/imageio/metadata/doc-files/jpeg_metadata.html#color
         ImageInfo.ColorType colorType = ImageInfo.ColorType.UNKNOWN;
         // Some images have both JFIF/APP0 and APP14.
         // JFIF is meant to win but in them APP14 is clearly right, so make it win.