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() { public void testInvalidModifierString() {
try { try {
FontModifier.parse("asdfasf"); FontModifier.parse("asdfasf");
fail("Expected IllegalArgumentExcption"); fail("Expected IllegalArgumentException");
} }
catch (ParseException e) { catch (ParseException e) {
// expected // expected
@ -148,7 +148,7 @@ public class FontModifierTest {
public void testInvalidModifierString2() { public void testInvalidModifierString2() {
try { try {
FontModifier.parse("[12]aa[13]"); FontModifier.parse("[12]aa[13]");
fail("Expected IllegalArgumentExcption"); fail("Expected IllegalArgumentException");
} }
catch (ParseException e) { catch (ParseException e) {
// expected // expected
@ -159,7 +159,7 @@ public class FontModifierTest {
public void testInvalidModifierString3() { public void testInvalidModifierString3() {
try { try {
FontModifier.parse("[12]aa13]"); FontModifier.parse("[12]aa13]");
fail("Expected IllegalArgumentExcption"); fail("Expected IllegalArgumentException");
} }
catch (ParseException e) { catch (ParseException e) {
// expected // expected
@ -170,7 +170,7 @@ public class FontModifierTest {
public void testInvalidModifierString4() { public void testInvalidModifierString4() {
try { try {
FontModifier.parse("[12][plain]sz"); FontModifier.parse("[12][plain]sz");
fail("Expected IllegalArgumentExcption"); fail("Expected IllegalArgumentException");
} }
catch (ParseException e) { catch (ParseException e) {
// expected // expected

View File

@ -184,7 +184,7 @@ public class LinkedByteBuffer {
} }
for (;;) { for (;;) {
if (byteCount > maxCount) { if (byteCount > maxCount) {
throw new IOException("Response buffer size exceded for: " + description); throw new IOException("Response buffer size exceeded for: " + description);
} }
do { do {
if (currentPos == BUFFER_SIZE) { if (currentPos == BUFFER_SIZE) {
@ -277,7 +277,7 @@ public class LinkedByteBuffer {
currentBuffer.array[currentPos++] = tok; currentBuffer.array[currentPos++] = tok;
byteCount += 1; byteCount += 1;
if (byteCount > maxCount) { if (byteCount > maxCount) {
throw new IOException("Response buffer size exceded for: " + description); throw new IOException("Response buffer size exceeded for: " + description);
} }
} }
} }