You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2020/12/20 02:09:48 UTC

[commons-imaging] branch master updated: Minor improvement - Fix JavaDoc

This is an automated email from the ASF dual-hosted git repository.

kinow 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 079c067  Minor improvement - Fix JavaDoc
     new 2b48e79  Merge pull request #113 from arturobernalg/feature/minuor_improvement
079c067 is described below

commit 079c067469db03024ce1eef49b8e555746096dec
Author: Arturo Bernal <ar...@gmail.com>
AuthorDate: Tue Dec 15 07:20:02 2020 +0100

    Minor improvement - Fix JavaDoc
---
 .../java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java | 4 ++--
 .../org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java   | 3 ++-
 .../org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java  | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java b/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
index 0693bc7..abe4132 100644
--- a/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
+++ b/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
@@ -59,8 +59,8 @@ public class IptcParser extends BinaryFileParser {
      * Block types (or Image Resource IDs) that are not recommended to be
      * interpreted when libraries process Photoshop IPTC metadata.
      *
-     * @see https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
-     * @see https://issues.apache.org/jira/browse/IMAGING-246
+     * @see <a href="https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/"> Adobe Photoshop File Formats Specification</a>
+     * @see <a href="https://issues.apache.org/jira/browse/IMAGING-246>IMAGING-246</a>
      * @since 1.0-alpha2
      */
     private static final List<Integer> PHOTOSHOP_IGNORED_BLOCK_TYPE = Arrays.asList(1084, 1085, 1086, 1087);
diff --git a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
index e0a0685..9feb257 100644
--- a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
+++ b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
@@ -32,7 +32,8 @@ import org.apache.commons.imaging.ImageReadException;
  * The PNG iCCP chunk. If "present, the image samples conform to the color space represented by the embedded ICC
  * profile as defined by the International Color Consortium".
  *
- * @see http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html
+ * @see <a href="http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html">PNG Specification</a>
+ *
  */
 public class PngChunkIccp extends PngChunk {
 
diff --git a/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java b/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java
index 5c178a0..a7ae28c 100644
--- a/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java
+++ b/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java
@@ -53,7 +53,7 @@ public class IptcParserTest {
      *
      * @throws IOException when reading input
      * @throws ImageReadException when parsing file
-     * @see https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
+     * @see <a href="https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/">Adobe Photoshop File Formats Specification</a>
      */
     @Test
     public void testSkipBlockTypes() throws ImageReadException, IOException {