Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341916 - Compiler warnings in N20110404-2000
Summary: Compiler warnings in N20110404-2000
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 10:00 EDT by Olivier Thomann CLA
Modified: 2011-04-05 14:40 EDT (History)
0 users

See Also:


Attachments
Proposed fix (3.72 KB, patch)
2011-04-05 10:02 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2011-04-05 10:00:21 EDT
1. WARNING in /src/org/eclipse/pde/internal/build/publisher/GatherBundleAction.java
 (at line 65)
Dictionary<String, String> manifest = (Dictionary<String, String>) bundle.getUserObject();
Type safety: Unchecked cast from Object to Dictionary<String,String>

1. WARNING in /src/org/eclipse/pde/internal/publishing/Utils.java
 (at line 59)
Dictionary<String, String> properties = (Dictionary<String, String>) bundle.getUserObject();
Type safety: Unchecked cast from Object to Dictionary<String,String>

1. WARNING in /src/org/eclipse/pde/internal/swt/tools/IconExe.java
 (at line 1212)
Vector imageLoaderListeners;
Vector is a raw type. References to generic type Vector<E> should be parameterized
Comment 1 Olivier Thomann CLA 2011-04-05 10:02:33 EDT
Created attachment 192558 [details]
Proposed fix
Comment 2 DJ Houghton CLA 2011-04-05 14:40:54 EDT
Fixed. Thanks for the patch.