Typos in ParameterAnnotationsAttribute javadoc
----------------------------------------------
Key: JASSIST-94
URL:
https://jira.jboss.org/jira/browse/JASSIST-94
Project: Javassist
Issue Type: Bug
Reporter: Luis Parravicini
Assignee: Shigeru Chiba
Priority: Trivial
In the documentation of several methods in ParameterAnnotationsAttribute, it says
"Visisble" instead of "Visible". I've checked it against
3.9.0.GA. Below is the patch:
diff -ru javassist-3.9.0/src/main/javassist/bytecode/AnnotationsAttribute.java
javassist-3.9.0.patched/src/main/javassist/bytecode/AnnotationsAttribute.java
--- javassist-3.9.0/src/main/javassist/bytecode/AnnotationsAttribute.java
2007-06-04 12:10:12.000000000 -0300
+++ javassist-3.9.0.patched/src/main/javassist/bytecode/AnnotationsAttribute.java
2009-09-29 15:52:04.000000000 -0300
@@ -111,7 +111,7 @@
public static final String invisibleTag = "RuntimeInvisibleAnnotations";
/**
- * Constructs a <code>Runtime(In)VisisbleAnnotations_attribute</code>.
+ * Constructs a <code>Runtime(In)VisibleAnnotations_attribute</code>.
*
* @param cp constant pool
* @param attrname attribute name (<code>visibleTag</code> or
@@ -126,7 +126,7 @@
/**
* Constructs an empty
- * <code>Runtime(In)VisisbleAnnotations_attribute</code>.
+ * <code>Runtime(In)VisibleAnnotations_attribute</code>.
* A new annotation can be later added to the created attribute
* by <code>setAnnotations()</code>.
*
diff -ru javassist-3.9.0/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
javassist-3.9.0.patched/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
--- javassist-3.9.0/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
2007-06-04 12:10:12.000000000 -0300
+++ javassist-3.9.0.patched/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
2009-09-29 15:52:20.000000000 -0300
@@ -53,7 +53,7 @@
= "RuntimeInvisibleParameterAnnotations";
/**
* Constructs
- * a <code>Runtime(In)VisisbleParameterAnnotations_attribute</code>.
+ * a <code>Runtime(In)VisibleParameterAnnotations_attribute</code>.
*
* @param cp constant pool
* @param attrname attribute name (<code>visibleTag</code> or
@@ -69,7 +69,7 @@
/**
* Constructs an empty
- * <code>Runtime(In)VisisbleParameterAnnotations_attribute</code>.
+ * <code>Runtime(In)VisibleParameterAnnotations_attribute</code>.
* A new annotation can be later added to the created attribute
* by <code>setAnnotations()</code>.
*
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira