Use {@code var list = new ArrayList<StringVerification>();}

See
https://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/javadoc.html#{@code}

On Mon, Dec 11, 2023 at 7:17 AM Arbol One <arbol...@hotmail.ca> wrote:

> I am trying to use this html expression when documenting a class
>
> /**
>
> <code>var list = new ArrayList<StringVerification>();</code>
>
> */
>
> , but I get an error from JavaDoc saying:
>
> * error: malformed HTML      * <code>"var list = new
> ArrayList<StringVerification>();"</code>*
>
> What am I doing wrong!?
>
> Thanks in advance
> --
> ArbolOne
> Using Fire Fox and Thunderbird.
> ArbolOne is composed of students and volunteers dedicated to providing free 
> services to charitable organizations.
> ArbolOne on Java Development is in progress [ í ]
>
>

-- 
"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, *Doctor Faustus* (v. 111-13)

Reply via email to