if you write: if version1 < version2
it should work in both cases :o) a++ Cedric En r�ponse � Sven <[EMAIL PROTECTED]>: > 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 > > > > __________________________________________________________________ > > Gesendet von Yahoo! Mail - http://mail.yahoo.de > Ihre E-Mail noch individueller? - http://domains.yahoo.de > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
