Methods which do not return anything should not have a @return tag.
@return
/** * Frobnicates. * * @return a frobnicator */ void frobnicator(int a) { ... }
Suppress by applying @SuppressWarnings("ReturnFromVoid") to the element being documented.
@SuppressWarnings("ReturnFromVoid")
Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!
No spam. Unsubscribe anytime.