Bug 100218 - unecessary cast in case of boxing
Summary: unecessary cast in case of boxing
Status: VERIFIED DUPLICATE of bug 100182
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 11:39 EDT by Rémi Forax CLA
Modified: 2006-01-10 09:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Forax CLA 2005-06-15 11:39:25 EDT
eclipse raise an unecessary cast in a case that require a cast :

char c=...
System.out.println("%d\n",(int)c);

in this case, the cast is usefull because c must be box in Integer.
Comment 1 Olivier Thomann CLA 2005-06-15 11:56:15 EDT

*** This bug has been marked as a duplicate of 100182 ***