diff --git a/java/io/nayuki/qrcodegen/BitBuffer.java b/java/io/nayuki/qrcodegen/BitBuffer.java
index 67c4d46..f0f7ecb 100644
--- a/java/io/nayuki/qrcodegen/BitBuffer.java
+++ b/java/io/nayuki/qrcodegen/BitBuffer.java
@@ -68,7 +68,7 @@ public final class BitBuffer implements Cloneable {
* Returns the bit at the specified index, yielding 0 or 1.
* @param index the index to get the bit at
* @return the bit at the specified index
- * @throws IndexOutOfBoundsException if index < 0 or index ≥ bitLength
+ * @throws IndexOutOfBoundsException if index < 0 or index ≥ bitLength
*/
public int getBit(int index) {
if (index < 0 || index >= bitLength)
@@ -94,7 +94,7 @@ public final class BitBuffer implements Cloneable {
/**
* Appends the specified number of low bits of the specified value to this
- * sequence. Requires 0 ≤ len ≤ 31 and 0 ≤ val < 2len.
+ * sequence. Requires 0 ≤ len ≤ 31 and 0 ≤ val < 2len.
* @param val the value to append
* @param len the number of low bits in the value to take
* @throws IllegalArgumentException if the value or number of bits is out of range
diff --git a/java/io/nayuki/qrcodegen/QrCode.java b/java/io/nayuki/qrcodegen/QrCode.java
index b210698..2d3ed61 100644
--- a/java/io/nayuki/qrcodegen/QrCode.java
+++ b/java/io/nayuki/qrcodegen/QrCode.java
@@ -115,8 +115,8 @@ public final class QrCode {
* @param boostEcl increases the error correction level if it can be done without increasing the version number
* @return a QR Code representing the segments
* @throws NullPointerException if the list of segments, any segment, or the error correction level is {@code null}
- * @throws IllegalArgumentException if 1 ≤ minVersion ≤ maxVersion ≤ 40
- * is violated, or if mask < −1 or mask > 7, or if the segments fail
+ * @throws IllegalArgumentException if 1 ≤ minVersion ≤ maxVersion ≤ 40
+ * is violated, or if mask < −1 or mask > 7, or if the segments fail
* to fit in the maxVersion QR Code at the ECL, which means they are too long
*/
public static QrCode encodeSegments(List segs, Ecc ecl, int minVersion, int maxVersion, int mask, boolean boostEcl) {
@@ -177,7 +177,7 @@ public final class QrCode {
public final int version;
/** The width and height of this QR Code symbol, measured in modules.
- * Always equal to version × 4 + 17, in the range 21 to 177 (inclusive). */
+ * Always equal to version × 4 + 17, in the range 21 to 177 (inclusive). */
public final int size;
/** The error correction level used in this QR Code symbol. Never {@code null}. */
@@ -207,7 +207,7 @@ public final class QrCode {
* @param ver the version number to use, which must be in the range 1 to 40 (inclusive)
* @param ecl the error correction level to use
* @param dataCodewords the bytes representing segments to encode (without ECC)
- * @param mask the mask pattern to use, which is either −1 for automatic choice or from 0 to 7 for fixed choice
+ * @param mask the mask pattern to use, which is either −1 for automatic choice or from 0 to 7 for fixed choice
* @throws NullPointerException if the byte array or error correction level is {@code null}
* @throws IllegalArgumentException if the version or mask value is out of range,
* or if the data is the wrong length for the specified version and error correction level
@@ -241,8 +241,8 @@ public final class QrCode {
* Returns the color of the module (pixel) at the specified coordinates, which is either
* false for white or true for black. The top left corner has the coordinates (x=0, y=0).
* If the specified coordinates are out of bounds, then false (white) is returned.
- * @param x the x coordinate, where 0 is the left edge and size−1 is the right edge
- * @param y the y coordinate, where 0 is the top edge and size−1 is the bottom edge
+ * @param x the x coordinate, where 0 is the left edge and size−1 is the right edge
+ * @param y the y coordinate, where 0 is the top edge and size−1 is the bottom edge
* @return the module's color, which is either false (white) or true (black)
*/
public boolean getModule(int x, int y) {
diff --git a/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java b/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java
index a63225e..4cac7fd 100644
--- a/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java
+++ b/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java
@@ -50,7 +50,7 @@ public final class QrSegmentAdvanced {
* @param maxVersion the maximum allowed version of the QR symbol (at most 40)
* @return a new mutable list of segments containing the text, minimizing the bit length with respect to the constraints
* @throws NullPointerException if the data or error correction level is {@code null}
- * @throws IllegalArgumentException if 1 ≤ minVersion ≤ maxVersion ≤ 40 is violated,
+ * @throws IllegalArgumentException if 1 ≤ minVersion ≤ maxVersion ≤ 40 is violated,
* or if the data is too long to fit in a QR Code at maxVersion at the ECL
*/
public static List makeSegmentsOptimally(String text, QrCode.Ecc ecl, int minVersion, int maxVersion) {