`// This rule specifies whether you enforce to not
// have a @return tag for void method methods.
// Per se a method returning 'void' ie. nothing does
// not need to have a @return JavaDoc
// This is the short and often prefered version
` `/**
* Remove all entries from a certain customer
*/
public void removeCustomerEntries(long custId)
{
...
}
`
`
// This is the more detailed version
/**
* Remove all entries from a certain customer
* @return void
*/
public void removeCustomerEntries(long custId)
{
...
}
`