Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I write javadoc comments for each instance variable?

private String label = "";
private String color = "";
private double edge = 0;

public Dodecahedron(String labelIn, String colorIn, double edgeIn)

I am getting an error message stating missing Javadoc comment. [JavadocVariable] (the instance variable lines and [JavadocMethod]

Is there a specific format or syntax I have to write to get rid of these errors?

like image 391
AndrewT Avatar asked Sep 09 '26 04:09

AndrewT


1 Answers

You can do it in a single line if that makes it better.

/** The session that will be used. */
private CastSession session;
like image 117
Lindsay-Needs-Sleep Avatar answered Sep 10 '26 18:09

Lindsay-Needs-Sleep