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 42699bc4 Javadoc
42699bc4 is described below
commit 42699bc4ca482f635f69add58c93ed9ab71f4a83
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 11 11:42:43 2024 -0400
Javadoc
---
.../java/org/apache/commons/imaging/ImagingParameters.java | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/imaging/ImagingParameters.java
b/src/main/java/org/apache/commons/imaging/ImagingParameters.java
index 4cf57883..3dd67953 100644
--- a/src/main/java/org/apache/commons/imaging/ImagingParameters.java
+++ b/src/main/java/org/apache/commons/imaging/ImagingParameters.java
@@ -53,8 +53,17 @@ public class ImagingParameters<E extends
ImagingParameters<E>> {
*/
private PixelDensity pixelDensity;
- // getters and setters
-
+ /**
+ * Returns this instance typed as the subclass type {@code E}.
+ * <p>
+ * This is the same as the expression:
+ * </p>
+ * <pre>
+ * (B) this
+ * </pre>
+ *
+ * @return this instance typed as the subclass type {@code E}.
+ */
@SuppressWarnings("unchecked")
public E asThis() {
return (E) this;