Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 18881 Details for
Bug 87868
[1.5][javadoc][assist] Dodgy completion in javadoc comment
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Code snippet with erroneous errors given.
Test.java (text/plain), 1.41 KB, created by
R Lenard
on 2005-03-16 18:55:44 EST
(
hide
)
Description:
Code snippet with erroneous errors given.
Filename:
MIME Type:
Creator:
R Lenard
Created:
2005-03-16 18:55:44 EST
Size:
1.41 KB
patch
obsolete
>import java.util.Collection; >import java.util.Iterator; > >/** > */ >public class Test >{ > /** > * > * @param <V> > * @param <T> > * @param collection > * @param iterable > * @return a value > */ > public static <V, T extends Collection<V>> T addAll(final T collection, final Iterable<? extends V> iterable) > { > assert collection != null; > assert iterable != null; > > return null; > } > > /** > * Adds all the elements from the iterable to the collection. The > * {@link Iterable#iterator} method will be called for the iterable and > * the resulting iterator will be exhausted. > * > * @param <V> the type of elements to add > * @param <T> the result to put into > * > * @param collection The collection to populate. > * @param iterator The {@link Iterator} to populate from. > * > * @return The populated collection. > */ > public static <V, T extends Collection<V>> T addAll(final T collection, final Iterator<? extends V> iterator) > { > assert collection != null; > assert iterator != null; > > return null; > } > > /** Test {@link #addAll(Object, Iterable)} and {@link #addAll(Object, Iterator)}. */ > public void test() > { > } > > /** Test {@link #addAll(T, Iterable)} and {@link #addAll(T, Iterator)}. */ > public void test2() { > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 87868
: 18881