mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-09-20 09:31:47 +00:00
Fix spelling mistakes
This commit is contained in:
parent
7148590e5c
commit
d45820a850
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user