Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311583 - Compiler warning in I20100504-0800
Summary: Compiler warning in I20100504-0800
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 RC1   Edit
Assignee: Pascal Rapicault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 311305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 12:16 EDT by Olivier Thomann CLA
Modified: 2010-05-08 03:14 EDT (History)
2 users (show)

See Also:
daniel_megert: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2010-05-04 12:16:38 EDT
1. WARNING in /src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java
 (at line 325)
slice = new CompoundQueryable<IInstallableUnit>(new IQueryable[] {slice, new QueryableArray(profileChangeRequest.getAdditions().toArray(new IInstallableUnit[profileChangeRequest.getAdditions().size()]))});
Type safety: The expression of type IQueryable[] needs unchecked conversion to conform to IQueryable<IInstallableUnit>[]
Comment 1 Pascal Rapicault CLA 2010-05-07 11:00:09 EDT
*** Bug 311305 has been marked as a duplicate of this bug. ***
Comment 2 Pascal Rapicault CLA 2010-05-07 11:30:13 EDT
fixed in HEAD
Comment 3 Dani Megert CLA 2010-05-08 03:14:46 EDT
Verified in N20100507-2000.