Community
Participate
Working Groups
If you have a class with static methods like: public static Object[] subarray(Object[] array, int start, int stop) public static int[] subarray(int[] array, int start, int stop) public static long[] subarray(long[] array, int start, int stop) etc, where the only tag missing from all of these method's Javadoc is the @return tag, and you add one @return tag to one method, all warnings for all methods about missing return tags disappear. Only the one warning should go away. I think I have also seen this with @param. Version 3.0.m6.
Cannot reproduce using build I200403240800. Here's my test case (if I've well understood your problem): public class Test { /** * @param array * @param start * @param stop */ public static Object[] subarray(Object[] array, int start, int stop) { return null; } /** * @param array * @param start * @param stop * @return */ public static int[] subarray(int[] array, int start, int stop) { return null; } /** * @param array * @param start * @param stop */ public static long[] subarray(long[] array, int start, int stop) { return null; } } In this case problems are signaled on Object[] and long[] return of first and third method. Changing @return from method does not matter, Javadoc: missing tag for return type is always well displayed. May you be more precise on failing test case?
Cannot reproduce. Closing