From d45820a85021dcc45be00f672920dc447422962f Mon Sep 17 00:00:00 2001 From: Maurice Sotzny Date: Sat, 14 Sep 2024 10:58:17 +0200 Subject: [PATCH] Fix spelling mistakes --- .../Gui/src/test/java/generic/theme/FontModifierTest.java | 8 ++++---- .../java/ghidra/program/model/pcode/LinkedByteBuffer.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Ghidra/Framework/Gui/src/test/java/generic/theme/FontModifierTest.java b/Ghidra/Framework/Gui/src/test/java/generic/theme/FontModifierTest.java index 8a498c2edf..7061204185 100644 --- a/Ghidra/Framework/Gui/src/test/java/generic/theme/FontModifierTest.java +++ b/Ghidra/Framework/Gui/src/test/java/generic/theme/FontModifierTest.java @@ -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 diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/LinkedByteBuffer.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/LinkedByteBuffer.java index 3180fff1ab..bcd7846461 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/LinkedByteBuffer.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/LinkedByteBuffer.java @@ -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); } } }