From 035a4d8dee43019c4415be941599ce3c9fefd817 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Wed, 29 Mar 2017 09:16:33 -0500 Subject: Bug 514411 - Latest build has warnings in EventListeners::removeListener Change-Id: I88660db08e1f84674308b1b6361b4f19edefe414 Signed-off-by: Thomas Watson --- .../src/org/eclipse/osgi/framework/eventmgr/EventListeners.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bundles/org.eclipse.osgi/supplement/src') diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/eventmgr/EventListeners.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/eventmgr/EventListeners.java index e40ce2920..25ad516fc 100644 --- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/eventmgr/EventListeners.java +++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/eventmgr/EventListeners.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2016 IBM Corporation and others. + * Copyright (c) 2003, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -67,7 +67,7 @@ public class EventListeners { * @param listener This is the listener object to be removed from the list. * @throws IllegalArgumentException If listener is null. */ - public void removeListener(V listener) { + public void removeListener(K listener) { list.remove(listener); } -- cgit v1.2.3