Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341916

Summary: Compiler warnings in N20110404-2000
Product: [Eclipse Project] Equinox Reporter: Olivier Thomann <Olivier_Thomann>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.7 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

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.