You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/24 13:17:59 UTC

[commons-bcel] branch master updated: Fix spelling in comments

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 31fe91e4 Fix spelling in comments
31fe91e4 is described below

commit 31fe91e4cb879e13232526adefcac1b2609c31a2
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Thu Nov 24 08:17:55 2022 -0500

    Fix spelling in comments
---
 src/main/java/org/apache/bcel/generic/CompoundInstruction.java        | 4 ++--
 .../java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/bcel/generic/CompoundInstruction.java b/src/main/java/org/apache/bcel/generic/CompoundInstruction.java
index d1106e17..0f4b2341 100644
--- a/src/main/java/org/apache/bcel/generic/CompoundInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/CompoundInstruction.java
@@ -18,11 +18,11 @@ package org.apache.bcel.generic;
 
 /**
  * Wrapper class for 'compound' operations, virtual instructions that don't exist as byte code, but give a useful
- * meaning. For example, the (virtual) PUSH instruction takes an arbitray argument and produces the appropriate code at
+ * meaning. For example, the (virtual) PUSH instruction takes an arbitrary argument and produces the appropriate code at
  * dump time (ICONST, LDC, BIPUSH, ...). Also you can use the SWITCH instruction as a useful template for either
  * LOOKUPSWITCH or TABLESWITCH.
  *
- * The interface provides the possibilty for the user to write 'templates' or 'macros' for such reuseable code patterns.
+ * The interface provides the possibility for the user to write 'templates' or 'macros' for such reusable code patterns.
  *
  * @see PUSH
  * @see SWITCH
diff --git a/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java b/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
index 4400d0c6..baa03b99 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/ExecutionVisitor.java
@@ -112,11 +112,11 @@ public class ExecutionVisitor extends EmptyVisitor {
 
     /// ** Symbolically executes the corresponding Java Virtual Machine instruction. */
     // public void visitWIDE(WIDE o) {
-    // The WIDE instruction is modelled as a flag
+    // The WIDE instruction is modeled as a flag
     // of the embedded instructions in BCEL.
     // Therefore BCEL checks for possible errors
     // when parsing in the .class file: We don't
-    // have even the possibilty to care for WIDE
+    // have even the possibility to care for WIDE
     // here.
     // }