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")