This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Change return type hint can suggest changing to void it the return statement is not followed by any value, e.g. "return;"
Created attachment 131172 [details] Shows the error without any fixable hint The errorcode is "compiler.err.missing.ret.val". Provide fixes * "Change return type to void" (as reported) * "Return null" -> return null; * "Return local variable, field of the given type String" -> return localVar; return field;