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 54430 Details for
Bug 165701
[model] NPE while computing method unique key
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Snippet that produces the problem
NoHint.java (text/plain), 712 bytes, created by
R Lenard
on 2006-11-23 14:18:58 EST
(
hide
)
Description:
Snippet that produces the problem
Filename:
MIME Type:
Creator:
R Lenard
Created:
2006-11-23 14:18:58 EST
Size:
712 bytes
patch
obsolete
>import java.sql.Date; > >/** > * No reasonable hint for resolving the {@link #getMax(Iterable)}. > */ >public class NoHint >{ > /** > * Extracts. > * @param <T> the type of els to extract > * @param ip1 to extract from > * @return the max > * @see #getMax(Iterable) > */ > public <T extends Date> T getMax(final Iterable<T> ip1) > { > return ip.iterator().next(); > } > > /** > * Extracts. > * @param <T> the type of els to extract > * @param ip2 to extract from > * @return the max > * @see #getMax(Iterable ip1) > */ > public <T extends Number> T getMax(final Iterable<T> ip2) > { > return ip.iterator().next(); > } >}
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 165701
:
54429
|
54430
|
54494