Fix spelling mistakes

This commit is contained in:
Maurice Sotzny 2024-09-14 10:58:17 +02:00
parent 7148590e5c
commit d45820a850
No known key found for this signature in database
GPG Key ID: F72902F82BBCD8C1
2 changed files with 6 additions and 6 deletions

View File

@ -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

@ -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);
}
}
}