Skip to content

Commit

Permalink
Javadoc spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 26, 2023
1 parent 67c789f commit aa3c754
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/examples/ClassDumper.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 <em>ClassFormatException</em> 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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/classfile/ClassParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 <em>ClassFormatException</em> 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.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/classfile/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <a href="Utility.html#encode(byte[], boolean)">encode()</a>
*/
private static final class JavaWriter extends FilterWriter {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/generic/ClassGen.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/generic/Type.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/apache/bcel/util/ClassPath.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa3c754

Please sign in to comment.