summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-12-03 15:39:45 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-12-03 15:39:45 +0000
commitadec029b9bfe57e4e42d9d7ebb0aadc6fb83b549 (patch)
treec1068dd5c0aacbb685ef4f8ecf6d94f922545499
parentdf3ac556d087a9ef2815c075f4081af293f5ae94 (diff)
Fixed generics raw type compiler warnings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@722935 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java b/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java
index d8bb24f1fa..16ba2f81b5 100644
--- a/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java
+++ b/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeProcessor.java
@@ -1093,8 +1093,8 @@ public class CompositeProcessor extends BaseAssemblyProcessor implements StAXArt
if (component.getRequiredIntents().contains(excluded)) {
component.getRequiredIntents().remove(excluded);
}
- for (Iterator i = component.getPolicySets().iterator(); i.hasNext(); ) {
- PolicySet cmpPolicySet = (PolicySet) i.next();
+ for (Iterator<PolicySet> i = component.getPolicySets().iterator(); i.hasNext(); ) {
+ PolicySet cmpPolicySet = i.next();
if (cmpPolicySet.getProvidedIntents().contains(excluded)) {
i.remove();
}
@@ -1107,8 +1107,8 @@ public class CompositeProcessor extends BaseAssemblyProcessor implements StAXArt
if (component.getRequiredIntents().contains(excluded)) {
component.getRequiredIntents().remove(excluded);
}
- for (Iterator i = component.getPolicySets().iterator(); i.hasNext(); ) {
- PolicySet cmpPolicySet = (PolicySet) i.next();
+ for (Iterator<PolicySet> i = component.getPolicySets().iterator(); i.hasNext(); ) {
+ PolicySet cmpPolicySet = i.next();
if (cmpPolicySet.getProvidedIntents().contains(excluded)) {
i.remove();
}
@@ -1146,8 +1146,8 @@ public class CompositeProcessor extends BaseAssemblyProcessor implements StAXArt
if (compConfOp.getRequiredIntents().contains(excluded)) {
compConfOp.getRequiredIntents().remove(excluded);
}
- for (Iterator i = compConfOp.getPolicySets().iterator(); i.hasNext(); ) {
- PolicySet cmpPolicySet = (PolicySet) i.next();
+ for (Iterator<PolicySet> i = compConfOp.getPolicySets().iterator(); i.hasNext(); ) {
+ PolicySet cmpPolicySet = i.next();
if (cmpPolicySet.getProvidedIntents().contains(excluded)) {
i.remove();
}