mcfly soft mcfly soft - 1 year ago 49
Java Question

How to achieve carriage return/line break in doctags

I want to put this data through the Javadoc:

* 1. line
* 2. line

How can I make the Javadoc put them on separate lines, like this:

1. line

2. line

Right now, the Javadoc puts them together, like this:

1. line 2. line

Answer Source

The javadoc comment is basically HTML, so you could use <br> to force a line break.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download