Merge branch 'GP-0_ryanmkurtz_PR-6916_Ailuridae_fix-spelling-mistakes'

This commit is contained in:
Ryan Kurtz 2024-09-16 15:00:50 -04:00
commit 2ee193293f
2 changed files with 10 additions and 10 deletions

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -137,7 +137,7 @@ public class FontModifierTest {
public void testInvalidModifierString() {
try {
FontModifier.parse("asdfasf");
fail("Expected IllegalArgumentExcption");
fail("Expected IllegalArgumentException");
}
catch (ParseException e) {
// expected
@ -148,7 +148,7 @@ public class FontModifierTest {
public void testInvalidModifierString2() {
try {
FontModifier.parse("[12]aa[13]");
fail("Expected IllegalArgumentExcption");
fail("Expected IllegalArgumentException");
}
catch (ParseException e) {
// expected
@ -159,7 +159,7 @@ public class FontModifierTest {
public void testInvalidModifierString3() {
try {
FontModifier.parse("[12]aa13]");
fail("Expected IllegalArgumentExcption");
fail("Expected IllegalArgumentException");
}
catch (ParseException e) {
// expected
@ -170,7 +170,7 @@ public class FontModifierTest {
public void testInvalidModifierString4() {
try {
FontModifier.parse("[12][plain]sz");
fail("Expected IllegalArgumentExcption");
fail("Expected IllegalArgumentException");
}
catch (ParseException e) {
// expected

View File

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -184,7 +184,7 @@ public class LinkedByteBuffer {
}
for (;;) {
if (byteCount > maxCount) {
throw new IOException("Response buffer size exceded for: " + description);
throw new IOException("Response buffer size exceeded for: " + description);
}
do {
if (currentPos == BUFFER_SIZE) {
@ -277,7 +277,7 @@ public class LinkedByteBuffer {
currentBuffer.array[currentPos++] = tok;
byteCount += 1;
if (byteCount > maxCount) {
throw new IOException("Response buffer size exceded for: " + description);
throw new IOException("Response buffer size exceeded for: " + description);
}
}
}