DBJAOC - Distinguish Between JavaDoc And Ordinary Comments
Checks whether the JavaDoc comments in your program ends with '**/' and ordinary C-style ones with '*/'.
Wrong
/**
* JavaDoc comment
*/
public class DBJAOC {
/*
* C-style comment
**/
private int attr;
/**
* JavaDoc comment
*/
public void oper () {}
}
Right
/**
* JavaDoc comment
**/
public class DBJAOC {
/*
* C-style comment
*/
private int attr;
/**
* JavaDoc comment
**/
public void oper () {}
}