This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 9a75d08f Fix typo 'preceeding' in ConstantPool exception message (#541)
9a75d08f is described below
commit 9a75d08faf0681ca56976d948fba5736be009ddd
Author: Mohd Irshad <[email protected]>
AuthorDate: Fri Oct 30 16:49:12 2026 +0530
Fix typo 'preceeding' in ConstantPool exception message (#541)
---
src/main/java/org/apache/bcel/classfile/ConstantPool.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index a5be8c1a..2a280aa2 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -331,7 +331,7 @@ public class ConstantPool implements Cloneable, Node,
Iterable<Constant> {
if (index > 1) {
final Constant prev = constantPool[index - 1];
if (prev != null && (prev.getTag() == Const.CONSTANT_Double ||
prev.getTag() == Const.CONSTANT_Long)) {
- throw new ClassFormatException("Constant pool at index %,d is
invalid. The index is unused due to the preceeding %s.", index,
+ throw new ClassFormatException("Constant pool at index %,d is
invalid. The index is unused due to the preceding %s.", index,
Const.getConstantName(prev.getTag()));
}
}