From aa3c754dab0ca06d999faf3e08e75dd49170049c Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 26 Nov 2023 15:44:08 -0500 Subject: [PATCH] Javadoc spelling --- src/examples/ClassDumper.java | 2 +- src/main/java/org/apache/bcel/classfile/ClassParser.java | 2 +- src/main/java/org/apache/bcel/classfile/FieldOrMethod.java | 2 +- src/main/java/org/apache/bcel/classfile/Utility.java | 2 +- src/main/java/org/apache/bcel/generic/ClassGen.java | 2 +- src/main/java/org/apache/bcel/generic/Type.java | 2 +- src/main/java/org/apache/bcel/util/ClassPath.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/examples/ClassDumper.java b/src/examples/ClassDumper.java index 5770ba50bc..6ebaaab9bb 100644 --- a/src/examples/ClassDumper.java +++ b/src/examples/ClassDumper.java @@ -67,7 +67,7 @@ private final String constantToString(final int index) { /** * Parses the given Java class file and return an object that represents the contained data, i.e., constants, methods, * fields and commands. A ClassFormatException is raised, if the file is not a valid .class file. (This does - * not include verification of the byte code as it is performed by the java interpreter). + * not include verification of the byte code as it is performed by the Java interpreter). * * @throws IOException * @throws ClassFormatException diff --git a/src/main/java/org/apache/bcel/classfile/ClassParser.java b/src/main/java/org/apache/bcel/classfile/ClassParser.java index 371a313c55..d70f1e746a 100644 --- a/src/main/java/org/apache/bcel/classfile/ClassParser.java +++ b/src/main/java/org/apache/bcel/classfile/ClassParser.java @@ -99,7 +99,7 @@ public ClassParser(final String zipFile, final String fileName) { /** * Parses the given Java class file and return an object that represents the contained data, i.e., constants, methods, * fields and commands. A ClassFormatException is raised, if the file is not a valid .class file. (This does - * not include verification of the byte code as it is performed by the java interpreter). + * not include verification of the byte code as it is performed by the Java interpreter). * * @return Class object representing the parsed class file * @throws IOException if an I/O error occurs. diff --git a/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java b/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java index d354eb0a3e..76f30617a6 100644 --- a/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java +++ b/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java @@ -216,7 +216,7 @@ public final int getNameIndex() { } /** - * @return String representation of object's type signature (java style) + * @return String representation of object's type signature (Java style) */ public final String getSignature() { return constant_pool.getConstantUtf8(signature_index).getBytes(); diff --git a/src/main/java/org/apache/bcel/classfile/Utility.java b/src/main/java/org/apache/bcel/classfile/Utility.java index afefef8eed..415ceb27c7 100644 --- a/src/main/java/org/apache/bcel/classfile/Utility.java +++ b/src/main/java/org/apache/bcel/classfile/Utility.java @@ -85,7 +85,7 @@ public int read(final char[] cbuf, final int off, final int len) throws IOExcept } /** - * Encode bytes into valid java identifier characters. Used by + * Encode bytes into valid Java identifier characters. Used by * encode() */ private static final class JavaWriter extends FilterWriter { diff --git a/src/main/java/org/apache/bcel/generic/ClassGen.java b/src/main/java/org/apache/bcel/generic/ClassGen.java index 93a7816c31..cb4ecb5e7d 100644 --- a/src/main/java/org/apache/bcel/generic/ClassGen.java +++ b/src/main/java/org/apache/bcel/generic/ClassGen.java @@ -38,7 +38,7 @@ import org.apache.commons.lang3.ArrayUtils; /** - * Template class for building up a java class. May be initialized with an existing java class (file). + * Template class for building up a java class. May be initialized with an existing Java class (file). * * @see JavaClass */ diff --git a/src/main/java/org/apache/bcel/generic/Type.java b/src/main/java/org/apache/bcel/generic/Type.java index 0ff9c80f6a..956d7e8c93 100644 --- a/src/main/java/org/apache/bcel/generic/Type.java +++ b/src/main/java/org/apache/bcel/generic/Type.java @@ -28,7 +28,7 @@ import org.apache.commons.lang3.StringUtils; /** - * Abstract super class for all possible java types, namely basic types such as int, object types like String and array + * Abstract super class for all possible Java types, namely basic types such as int, object types like String and array * types, e.g. int[] */ public abstract class Type { diff --git a/src/main/java/org/apache/bcel/util/ClassPath.java b/src/main/java/org/apache/bcel/util/ClassPath.java index 63f67a3c46..e48a63222e 100644 --- a/src/main/java/org/apache/bcel/util/ClassPath.java +++ b/src/main/java/org/apache/bcel/util/ClassPath.java @@ -635,7 +635,7 @@ public ClassFile getClassFile(final String name) throws IOException { /** * @param name fully qualified file name, e.g. java/lang/String * @param suffix file name ends with suff, e.g. .java - * @return class file for the java class + * @return class file for the Java class * @throws IOException if an I/O error occurs. */ public ClassFile getClassFile(final String name, final String suffix) throws IOException {