Summary: | [1.5] Report unnecessary cast for parametrized containers | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Martin Aeschlimann
2004-07-01 10:18:46 EDT
I am already getting the warning: 1. WARNING in X.java (at line 5) String string = (String) l.get(0); ^^^^^^^^^^^^^^^^^ Unnecessary cast to type String for expression of type String |