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 23963646 Javadoc
23963646 is described below
commit 23963646d04ae8bdb2aa5a651db0923022710dcc
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jan 17 10:21:52 2024 -0500
Javadoc
---
src/main/java/org/apache/commons/imaging/common/RationalNumber.java | 2 +-
.../org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java | 2 +-
src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java | 2 +-
.../org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java | 2 +-
src/main/java/org/apache/commons/imaging/palette/ColorGroup.java | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
b/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
index aa3582b9..32d67f67 100644
--- a/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
+++ b/src/main/java/org/apache/commons/imaging/common/RationalNumber.java
@@ -78,7 +78,7 @@ public class RationalNumber extends Number {
}
/**
- * Return the greatest common divisor
+ * Gets the greatest common divisor
*/
private static long gcd(final long a, final long b) {
if (b == 0) {
diff --git
a/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java
b/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java
index 3a156b25..6ace959b 100644
---
a/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java
+++
b/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SosSegment.java
@@ -102,7 +102,7 @@ public class SosSegment extends AbstractSegment {
}
/**
- * Return a component at the specified index.
+ * Gets a component at the specified index.
*
* @param index the component index
* @return the component
diff --git a/src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java
b/src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java
index 4412709e..ec3a4f84 100644
--- a/src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java
+++ b/src/main/java/org/apache/commons/imaging/formats/png/PngCrc.java
@@ -34,7 +34,7 @@ final class PngCrc {
* running CRC (see the crc() routine below)).
*/
- /* Return the CRC of the bytes buf[0..len-1]. */
+ /* Gets the CRC of the bytes buf[0..len-1]. */
public int crc(final byte[] buf, final int len) {
return (int) (updateCrc(0xffffffffL, buf) ^ 0xffffffffL);
}
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 adc01cb6..6a3d2228 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
@@ -113,7 +113,7 @@ public class PngChunkIccp extends PngChunk {
}
/**
- * Return a copy of the uncompressed profile data.
+ * Gets a copy of the uncompressed profile data.
*
* @return the uncompressed profile data
*/
diff --git a/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
b/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
index 277d5582..84a1ebef 100644
--- a/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
+++ b/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
@@ -101,7 +101,7 @@ final class ColorGroup {
}
/**
- * Return a copy of the list of color counts.
+ * Gets a copy of the list of color counts.
*
* @return a copy of the list of color counts
*/