Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-06-19 15:42:23 +0000
committerMarkus Tiede2014-06-19 15:42:23 +0000
commite985a50f8fb71474bc696e0d0b7d6c0b70583e7f (patch)
tree46d0fbc60a4f06df95bca4dfb096e89273562407 /org.eclipse.jubula.toolkit.common
parentc693b00514a8d55128f349ed1d29aa55bc1b07d8 (diff)
downloadorg.eclipse.jubula.core-e985a50f8fb71474bc696e0d0b7d6c0b70583e7f.tar.gz
org.eclipse.jubula.core-e985a50f8fb71474bc696e0d0b7d6c0b70583e7f.tar.xz
org.eclipse.jubula.core-e985a50f8fb71474bc696e0d0b7d6c0b70583e7f.zip
Non-sprint task - minor refactoring: introduce generics for component system + avoid unnecessary casts.
Diffstat (limited to 'org.eclipse.jubula.toolkit.common')
-rw-r--r--org.eclipse.jubula.toolkit.common/src/org/eclipse/jubula/toolkit/common/xml/businessprocess/ComponentBuilder.java15
1 files changed, 6 insertions, 9 deletions
diff --git a/org.eclipse.jubula.toolkit.common/src/org/eclipse/jubula/toolkit/common/xml/businessprocess/ComponentBuilder.java b/org.eclipse.jubula.toolkit.common/src/org/eclipse/jubula/toolkit/common/xml/businessprocess/ComponentBuilder.java
index 8cef92fab..84ae16b11 100644
--- a/org.eclipse.jubula.toolkit.common/src/org/eclipse/jubula/toolkit/common/xml/businessprocess/ComponentBuilder.java
+++ b/org.eclipse.jubula.toolkit.common/src/org/eclipse/jubula/toolkit/common/xml/businessprocess/ComponentBuilder.java
@@ -202,22 +202,19 @@ public class ComponentBuilder extends AbstractComponentBuilder {
}
/**
- *
- * @return The IDs of the installed independent CompSystems without
- * abstract an concrete.
+ * @return The IDs of the installed independent CompSystems without abstract
+ * an concrete.
*/
- @SuppressWarnings("unchecked")
public List<String> getLevelToolkitIds() {
- List<ToolkitPluginDescriptor> toolkitDescriptors =
- super.getCompSystem().getIndependentToolkitPluginDescriptors(true);
+ List<ToolkitPluginDescriptor> toolkitDescriptors = super
+ .getCompSystem().getIndependentToolkitPluginDescriptors(true);
List<String> toolkitIds = new ArrayList<String>();
-
+
for (ToolkitPluginDescriptor desc : toolkitDescriptors) {
toolkitIds.add(desc.getToolkitID());
}
-
+
return toolkitIds;
}
-
} \ No newline at end of file

Back to the top