I wrote two methods in class Util:
public static final <T> T[] copy1(T[] source) {...}
public static final <T> T[] copy2(T[] source) {...}
Javadoc for method copy2 includes:
{@link #copy1(Object[]) copy}
and as a test includes also:
{@link Integer#highestOneBit(int) highestOneBit}
When I click the highestOneBit link it works. When I click the copy link, it doesnt work correctly, it links to the Util class?! Java version 1.5.0_16.
What happens when you link to copy(T[])
instead of copy(Object[])
? On my machine, that works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With