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 1451ad52 Fix typos in Javadoc and comments
1451ad52 is described below

commit 1451ad5252dc49084e402b340c5ad3aea4073467
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Feb 15 09:27:40 2025 -0500

    Fix typos in Javadoc and comments
---
 src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java   | 2 +-
 src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java   | 2 +-
 .../org/apache/bcel/generic/GeneratingAnnotatedClassesTestCase.java   | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java 
b/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
index 0ecbbf44..e15a2a19 100644
--- a/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
+++ b/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
@@ -103,7 +103,7 @@ public abstract class LocalVariableInstruction extends 
Instruction implements Ty
     /**
      * Returns the type associated with the instruction - in case of ALOAD or 
ASTORE Type.OBJECT is returned. This is just a
      * bit incorrect, because ALOAD and ASTORE may work on every ReferenceType 
(including Type.NULL) and ASTORE may even
-     * work on a ReturnaddressType .
+     * work on a ReturnaddressType.
      *
      * @return type associated with the instruction
      */
diff --git 
a/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java 
b/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java
index 1766d65f..17527fa7 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java
@@ -462,7 +462,7 @@ public class Subroutines {
         // we don't want to assign an instruction to two or more Subroutine 
objects.
         final Set<InstructionHandle> instructionsAssigned = new HashSet<>();
 
-        // Graph coloring. Key: InstructionHandle, Value: ColourConstants enum 
.
+        // Graph coloring. Key: InstructionHandle, Value: ColourConstants enum.
         final Map<InstructionHandle, ColourConstants> colors = new HashMap<>();
 
         final List<InstructionHandle> qList = new ArrayList<>();
diff --git 
a/src/test/java/org/apache/bcel/generic/GeneratingAnnotatedClassesTestCase.java 
b/src/test/java/org/apache/bcel/generic/GeneratingAnnotatedClassesTestCase.java
index 95d8a447..17d202a2 100644
--- 
a/src/test/java/org/apache/bcel/generic/GeneratingAnnotatedClassesTestCase.java
+++ 
b/src/test/java/org/apache/bcel/generic/GeneratingAnnotatedClassesTestCase.java
@@ -132,7 +132,7 @@ public class GeneratingAnnotatedClassesTestCase extends 
AbstractTestCase {
         il.append(InstructionConst.ACONST_NULL);
         lg.setStart(il.append(new ASTORE(name))); // "name" valid from here
         // Create try-catch block: We remember the start of the block, read a
-        // line from the standard input and store it into the variable name .
+        // line from the standard input and store it into the variable name.
         // InstructionHandle try_start = il.append(factory.createFieldAccess(
         // "java.lang.System", "out", p_stream, Constants.GETSTATIC));
         // il.append(new PUSH(cp, "Please enter your name> "));
@@ -208,7 +208,7 @@ public class GeneratingAnnotatedClassesTestCase extends 
AbstractTestCase {
         il.append(InstructionConst.ACONST_NULL);
         lg.setStart(il.append(new ASTORE(name))); // "name" valid from here
         // Create try-catch block: We remember the start of the block, read a
-        // line from the standard input and store it into the variable name .
+        // line from the standard input and store it into the variable name.
         // InstructionHandle try_start = il.append(factory.createFieldAccess(
         // "java.lang.System", "out", p_stream, Constants.GETSTATIC));
         // il.append(new PUSH(cp, "Please enter your name> "));

Reply via email to