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 fd01fd5 Format and Javadoc tweaks.
fd01fd5 is described below
commit fd01fd54b4c4f8c5f1a4e21b1a3f545ac0bbfb3f
Author: Gary Gregory <[email protected]>
AuthorDate: Tue May 28 08:41:09 2019 -0400
Format and Javadoc tweaks.
---
src/main/java/org/apache/bcel/classfile/Constant.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/bcel/classfile/Constant.java
b/src/main/java/org/apache/bcel/classfile/Constant.java
index 50c742e..aaf7a32 100644
--- a/src/main/java/org/apache/bcel/classfile/Constant.java
+++ b/src/main/java/org/apache/bcel/classfile/Constant.java
@@ -49,6 +49,7 @@ public abstract class Constant implements Cloneable, Node {
return THIS.toString().hashCode();
}
};
+
/* In fact this tag is redundant since we can distinguish different
* `Constant' objects by their type, i.e., via `instanceof'. In some
* places we will use the tag for switch()es anyway.
@@ -123,9 +124,8 @@ public abstract class Constant implements Cloneable, Node {
}
}
-
/**
- * Read one constant from the given input, the type depends on a tag byte.
+ * Reads one constant from the given input, the type depends on a tag byte.
*
* @param dataInput Input stream
* @return Constant object
@@ -192,7 +192,7 @@ public abstract class Constant implements Cloneable, Node {
/**
- * Return value as defined by given BCELComparator strategy.
+ * Returns value as defined by given BCELComparator strategy.
* By default two Constant objects are said to be equal when
* the result of toString() is equal.
*
@@ -205,7 +205,7 @@ public abstract class Constant implements Cloneable, Node {
/**
- * Return value as defined by given BCELComparator strategy.
+ * Returns value as defined by given BCELComparator strategy.
* By default return the hashcode of the result of toString().
*
* @see java.lang.Object#hashCode()