[jboss-jira] [JBoss JIRA] Resolved: (JASSIST-94) Typos in ParameterAnnotationsAttribute javadoc

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Mon Oct 5 15:58:49 EDT 2009


     [ https://jira.jboss.org/jira/browse/JASSIST-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Chiba resolved JASSIST-94.
----------------------------------

    Fix Version/s: 3.12.0.GA
       Resolution: Done


> 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
>             Fix For: 3.12.0.GA
>
>
> 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

        



More information about the jboss-jira mailing list