Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can add a line break inside the java's documentation

I have my constructor or any function/method which when I write this comment:

 /**
 * Comment Line 1.
 *  Comment Line 2.
 */

This no add a line break and show me all the text continue without line break.
This is a example

/**
* First line about the content of my class's constructor.
* Second line about the content...
* Third line about...
*/
public constructor(){

}

When I put the mouse pointer on the class show me the comment like this:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

First Line about the content of my class’s constructor. Second line
about the content… Third line about…

Can anyone any idea about how add a line break?

>Solution :

Javadock is just HTML so you can use </br>

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading