Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-03-03 07:32:23 +0000
committerAlexander Kurtakov2016-03-03 07:57:03 +0000
commit8d418cd90637a9a03ced224ba51c8b1d9eb03270 (patch)
tree421a9b35648df1f7248b8812adcbe1405c5d5416
parentf562c7ab0b00eed80a4ece7b6cbfd7225bc263ee (diff)
downloadeclipse.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>
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/workingset/AdaptableTopic.java6
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) {

Back to the top