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 2026/01/05 19:43:25 UTC

(commons-imaging) 04/17: Javadoc

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 737972fc4a4048ff54644d290052455790d60dde
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 5 14:09:55 2026 -0500

    Javadoc
---
 .../commons/imaging/common/AllocationRequestException.java    |  2 ++
 .../apache/commons/imaging/common/XmpImagingParameters.java   | 11 +++++++++++
 2 files changed, 13 insertions(+)

diff --git a/src/main/java/org/apache/commons/imaging/common/AllocationRequestException.java b/src/main/java/org/apache/commons/imaging/common/AllocationRequestException.java
index 217158b2..a824e454 100644
--- a/src/main/java/org/apache/commons/imaging/common/AllocationRequestException.java
+++ b/src/main/java/org/apache/commons/imaging/common/AllocationRequestException.java
@@ -32,8 +32,10 @@ public class AllocationRequestException extends ImagingRuntimeException {
         return String.format("Allocation limit %,d exceeded: %,d", limit, request);
     }
 
+    /** The allocation limit. */
     private final int limit;
 
+    /** The allocation request. */
     private final BigInteger request;
 
     /**
diff --git a/src/main/java/org/apache/commons/imaging/common/XmpImagingParameters.java b/src/main/java/org/apache/commons/imaging/common/XmpImagingParameters.java
index 3a8a33f4..a8b393c4 100644
--- a/src/main/java/org/apache/commons/imaging/common/XmpImagingParameters.java
+++ b/src/main/java/org/apache/commons/imaging/common/XmpImagingParameters.java
@@ -29,10 +29,21 @@ public class XmpImagingParameters<E extends XmpImagingParameters<E>> extends Ima
 
     private String xmpXml;
 
+    /**
+     * Gets the XMP XML.
+     *
+     * @return the XMP XML.
+     */
     public String getXmpXml() {
         return xmpXml;
     }
 
+    /**
+     * Sets the XMP XML.
+     *
+     * @param xmpXml the XMP XML.
+     * @return this instance.
+     */
     public E setXmpXml(final String xmpXml) {
         this.xmpXml = xmpXml;
         return asThis();