That is because you are writing html code in the javadoc comment.
The character "<" is being interpreted as the start of a html-tag.
Use "&lt;" instead.

http://www.w3.org/TR/REC-html40/sgml/entities.html

/Christian


> -----Original Message-----
> From: Sven [mailto:[EMAIL PROTECTED]]
> Sent: den 27 mars 2002 17:21
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] Minor Quick Javadoc bug in build 614
> 
> 
> Hi all,
> 
> when i write the following Javadoc Comment:
> /**
>      * Compares two version numbers.  <br>
>      * They have to be in the format "#.#.#[b#]" (# 
> represents any integer) <br>
>      * (the b# is optional all other parts are required)      
>               <br>
>      * The comparison evaluates from left to right            
>               <br>
>      *
>      * @param version1 version to compare
>      * @param version2 version to compare
>      * @return 1 if version1 < version2  <br>
>      *         0 if version1 = version2  <br>
>      *        -1 if version1 > version2  <br>
>      * @throws IllegalArgumentException if version is not a 
> valid version
>      */
> of one of my functions and look at it in Quick Javadoc
> the "<" sign in the @return statement is not displayed.
> 
> the external JavaDoc displays the above correctly
> QuickJavaDoc:
> --------------
> JavaInstaller
> private�int�compareVersions(String�version1,
>                            String�version2)
> Compares two version numbers. 
> They have to be in the format "#.#.#[b#]" (# represents any integer)
> (the b# is optional all other parts are required) 
> The comparison evaluates from left to right 
> 
> Parameters:
>    version1 - version to compare
>    version2 - version to compare
> Returns:
>     1 if version1 version2 
>     0 if version1 = version2 
>    -1 if version1 > version2 
> Throws:
>    IllegalArgumentException - if version is not a valid version
> 
> 
>

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to