mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 04:45:38 +02:00
Bug 326233 - DsfSession doesn't compile against 3.7
This commit is contained in:
parent
f9418dae7d
commit
159c91c678
1 changed files with 6 additions and 1 deletions
|
@ -459,7 +459,12 @@ public class DsfSession
|
|||
@ThreadSafe
|
||||
public int hashCode() { return fId.hashCode(); }
|
||||
|
||||
private void doDispatchEvent(Object event, Dictionary<?,?> serviceProperties) {
|
||||
private void doDispatchEvent(Object event, Dictionary<?,?> _serviceProperties) {
|
||||
// Need to cast to dictionary with String keys to satisfy OSGI in platform 3.7.
|
||||
// Bug 326233
|
||||
@SuppressWarnings("unchecked")
|
||||
Dictionary<String,?> serviceProperties = (Dictionary<String,?>)_serviceProperties;
|
||||
|
||||
// Build a list of listeners;
|
||||
SortedMap<ListenerEntry,List<Method>> listeners = new TreeMap<ListenerEntry,List<Method>>(new Comparator<ListenerEntry>() {
|
||||
public int compare(ListenerEntry o1, ListenerEntry o2) {
|
||||
|
|
Loading…
Add table
Reference in a new issue