Skip to content

Commit

Permalink
Fix typo in Matrix*Stack popMatrix() exception message (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed Nov 17, 2021
1 parent 15f8344 commit 8d10d9c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/org/joml/Matrix3dStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Matrix3dStack pushMatrix() {
*/
public Matrix3dStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix3fStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Matrix3fStack pushMatrix() {
*/
public Matrix3fStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix3x2dStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Matrix3x2dStack pushMatrix() {
*/
public Matrix3x2dStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix3x2fStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Matrix3x2fStack pushMatrix() {
*/
public Matrix3x2fStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix4dStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Matrix4dStack pushMatrix() {
*/
public Matrix4dStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix4fStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Matrix4fStack pushMatrix() {
*/
public Matrix4fStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix4x3dStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Matrix4x3dStack pushMatrix() {
*/
public Matrix4x3dStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix4x3fStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Matrix4x3fStack pushMatrix() {
*/
public Matrix4x3fStack popMatrix() {
if (curr == 0) {
throw new IllegalStateException("already at the buttom of the stack"); //$NON-NLS-1$
throw new IllegalStateException("already at the bottom of the stack"); //$NON-NLS-1$
}
set(mats[--curr]);
return this;
Expand Down

0 comments on commit 8d10d9c

Please sign in to comment.