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 b7794a04 Javadoc
b7794a04 is described below

commit b7794a04e2b95175f4746573b54436757493a787
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon May 15 21:03:03 2023 -0400

    Javadoc
---
 .../apache/commons/imaging/common/ImageBuilder.java  | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java 
b/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
index f0546fc7..d0b52ecf 100644
--- a/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
+++ b/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
@@ -165,7 +165,7 @@ public class ImageBuilder {
     }
 
     /**
-     * Get the height of the ImageBuilder pixel field
+     * Gets the height of the ImageBuilder pixel field
      * @return  a positive integer
      */
     public int getHeight() {
@@ -173,7 +173,7 @@ public class ImageBuilder {
     }
 
     /**
-     * Get the RGB or ARGB value for the pixel at the position (x,y)
+     * Gets the RGB or ARGB value for the pixel at the position (x,y)
      * within the image builder pixel field. For performance reasons
      * no bounds checking is applied.
      * @param x the X coordinate of the pixel to be read
@@ -249,15 +249,15 @@ public class ImageBuilder {
      }
 
      /**
-     * Get the width of the ImageBuilder pixel field
-     * @return a positive integer
-     */
-    public int getWidth() {
-        return width;
-    }
-
+      * Get the width of the ImageBuilder pixel field
+      *
+      * @return a positive integer
+      */
+     public int getWidth() {
+         return width;
+     }
 
-    private BufferedImage makeBufferedImage(
+     private BufferedImage makeBufferedImage(
             final int[] argb, final int w, final int h, final boolean 
useAlpha) {
         ColorModel colorModel;
         WritableRaster raster;

Reply via email to