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
commit b218099cda6b6edfdf1c91328fd5cea21794f53f Author: Gary David Gregory (Code signing key) <ggreg...@apache.org> AuthorDate: Sun Oct 23 09:19:27 2022 -0400 Fix spelling in comments --- src/main/java/org/apache/bcel/generic/ReferenceType.java | 2 +- src/main/java/org/apache/bcel/generic/TargetLostException.java | 2 +- src/main/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/bcel/generic/ReferenceType.java b/src/main/java/org/apache/bcel/generic/ReferenceType.java index a6b4a99d..61e0dec9 100644 --- a/src/main/java/org/apache/bcel/generic/ReferenceType.java +++ b/src/main/java/org/apache/bcel/generic/ReferenceType.java @@ -180,7 +180,7 @@ public abstract class ReferenceType extends Type { } final ReferenceType T = (ReferenceType) t; if (this.equals(Type.NULL)) { - return true; // This is not explicitely stated, but clear. Isn't it? + return true; // This is not explicitly stated, but clear. Isn't it? } /* * If this is a class type then diff --git a/src/main/java/org/apache/bcel/generic/TargetLostException.java b/src/main/java/org/apache/bcel/generic/TargetLostException.java index 5fc0d98f..43bd458a 100644 --- a/src/main/java/org/apache/bcel/generic/TargetLostException.java +++ b/src/main/java/org/apache/bcel/generic/TargetLostException.java @@ -22,7 +22,7 @@ package org.apache.bcel.generic; * referencing is being removed from the InstructionList and thus not valid anymore. * * <p> - * Making this an exception instead of a return value forces the user to handle these case explicitely in a try { ... } + * Making this an exception instead of a return value forces the user to handle these case explicitly in a try { ... } * catch. The following code illustrates how this may be done: * </p> * diff --git a/src/main/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java b/src/main/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java index b9eca826..6e63e0bd 100644 --- a/src/main/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java +++ b/src/main/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java @@ -47,7 +47,7 @@ public class LocalVariablesInfo { * @throws LocalVariableInfoInconsistentException if the new information conflicts with already gathered information. */ public void add(final int slot, final String name, final int startPc, final int length, final Type type) throws LocalVariableInfoInconsistentException { - // The add operation on LocalVariableInfo may throw the '...Inconsistent...' exception, we don't throw it explicitely + // The add operation on LocalVariableInfo may throw the '...Inconsistent...' exception, we don't throw it explicitly // here. if (slot < 0 || slot >= localVariableInfos.length) {