| Summary: | [content assist] Content assist propose an assignement with type 'null' | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Romain Dervaux <romain.dervaux> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Can reproduce in *** This bug has been marked as a duplicate of bug 172925 *** |
Build Identifier: 20110615-0604 For a parameterized list like this : List<? extends Integer> liste = null; Content Assist propose, for the methods : add(null e) add(int index, null e) addAll(null c) addAll(int index, null c) set(int index, null element) to deal with elements with a 'null' type. Reproducible: Always Steps to Reproduce: 1. Create class public class Test { private void test () { List<? extends Integer> liste = null; } } 2. Under the declaration of 'liste', type 'liste.' 3. Content Assist appears, proposing the methods with type 'null'