[ http://jira.andromda.org/browse/JAVA-33?page=all ]
     
Plushnikov Michail resolved JAVA-33:
------------------------------------

    Fix Version: 3.4-SNAPSHOT
     Resolution: Fixed
      Assign To: Plushnikov Michail  (was: Matthias Bohlen)

> Line comments for literals in TypeSafeEnumeration
> -------------------------------------------------
>
>          Key: JAVA-33
>          URL: http://jira.andromda.org/browse/JAVA-33
>      Project: Java Cartridge
>         Type: Bug

>     Reporter: Johann Wilfling
>     Assignee: Plushnikov Michail
>     Priority: Trivial
>      Fix For: 3.4-SNAPSHOT

>
> The comment style for literals in TypeSafeEnumeration.vsl is only "line 
> comment", which results in compile errors when using comments with paragraphs.
> In fact "$literal.getDocumentation("")" returns the comment in form of "<p> 
> \n comment \n </p>", which contains line breaks and therefore the "line 
> comment" is also not appropriate.
> Here is a patch for R3.2, which produces not the prettiest output but should 
> work in most circumstances:
> --- TypeSafeEnumeration.vsl.orig        2007-02-13 18:27:20.000000000 +0100
> +++ TypeSafeEnumeration.vsl     2007-02-13 13:50:46.000000000 +0100
> @@ -47,7 +47,10 @@
>  #else
>  #set ($arguments = "")
>  #end
> -    $literal.name$arguments$separator //$literal.getDocumentation("")
> +    /**
> +$literal.getDocumentation("      * ")
> +     */
> +    $literal.name$arguments$separator
>  #end
>  
>  #set ($nbMembers = ${enumeration.memberVariables.size()})

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge

Reply via email to