diff options
author | Alexander Kurtakov | 2016-03-03 07:32:23 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2016-03-03 07:57:03 +0000 |
commit | 8d418cd90637a9a03ced224ba51c8b1d9eb03270 (patch) | |
tree | 421a9b35648df1f7248b8812adcbe1405c5d5416 /org.eclipse.help.base/src | |
parent | f562c7ab0b00eed80a4ece7b6cbfd7225bc263ee (diff) | |
download | eclipse.platform.ua-8d418cd90637a9a03ced224ba51c8b1d9eb03270.tar.gz eclipse.platform.ua-8d418cd90637a9a03ced224ba51c8b1d9eb03270.tar.xz eclipse.platform.ua-8d418cd90637a9a03ced224ba51c8b1d9eb03270.zip |
Bug 488210 - Generify org.eclipse.help pluginY20160303-0800I20160308-0800
Fix warnings in o.e.help.base caused by that.
Change-Id: Idb341dfe33216aa8ba9dd795e7623cd01f41aaa9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.help.base/src')
-rw-r--r-- | org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableTopic.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableTopic.java b/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableTopic.java index 1ba20f576..b3dfd9a51 100644 --- a/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableTopic.java +++ b/org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableTopic.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2015 IBM Corporation and others. + * Copyright (c) 2000, 2016 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 @@ -79,12 +79,12 @@ public class AdaptableTopic extends AdaptableHelpResource { // traverse TOC and fill in the topicMap topicMap = new HashMap<>(); topicMap.put(getHref(), element); - FastStack stack = new FastStack(); + FastStack<ITopic> stack = new FastStack<>(); ITopic[] topics = getSubtopics(); for (int i = 0; i < topics.length; i++) stack.push(topics[i]); while (!stack.isEmpty()) { - ITopic topic = (ITopic) stack.pop(); + ITopic topic = stack.pop(); if (topic != null) { String topicHref = topic.getHref(); if (topicHref != null) { |