This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push: new 529daa0e Fix spelling 529daa0e is described below commit 529daa0ea9a114be96808294401e2757662ce000 Author: Gary David Gregory (Code signing key) <ggreg...@apache.org> AuthorDate: Sat Oct 22 14:38:15 2022 -0400 Fix spelling --- src/examples/PatchClass.java | 2 +- src/main/java/org/apache/bcel/classfile/Utility.java | 2 +- src/main/java/org/apache/bcel/verifier/structurals/OperandStack.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/examples/PatchClass.java b/src/examples/PatchClass.java index 9ff3a237..b11f9610 100644 --- a/src/examples/PatchClass.java +++ b/src/examples/PatchClass.java @@ -53,7 +53,7 @@ public class PatchClass { } /* - * Replace all occurences of string "<em>old</em>" with "<em>replacement</em>" in all Utf8 constants + * Replace all occurrences of string "<em>old</em>" with "<em>replacement</em>" in all Utf8 constants */ private static void patchIt(final String old, final String replacement, final Constant[] constantPool) { ConstantUtf8 c; diff --git a/src/main/java/org/apache/bcel/classfile/Utility.java b/src/main/java/org/apache/bcel/classfile/Utility.java index 3e21f46b..8b428f7a 100644 --- a/src/main/java/org/apache/bcel/classfile/Utility.java +++ b/src/main/java/org/apache/bcel/classfile/Utility.java @@ -586,7 +586,7 @@ public abstract class Utility { } /** - * Escape all occurences of newline chars '\n', quotes \", etc. + * Escape all occurrences of newline chars '\n', quotes \", etc. */ public static String convertString(final String label) { final char[] ch = label.toCharArray(); diff --git a/src/main/java/org/apache/bcel/verifier/structurals/OperandStack.java b/src/main/java/org/apache/bcel/verifier/structurals/OperandStack.java index 6988d27e..c9250c4d 100644 --- a/src/main/java/org/apache/bcel/verifier/structurals/OperandStack.java +++ b/src/main/java/org/apache/bcel/verifier/structurals/OperandStack.java @@ -101,7 +101,7 @@ public class OperandStack implements Cloneable { } /** - * Replaces all occurences of u in this OperandStack instance with an "initialized" ObjectType. + * Replaces all occurrences of u in this OperandStack instance with an "initialized" ObjectType. */ public void initializeObject(final UninitializedObjectType u) { for (int i = 0; i < stack.size(); i++) {