Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2012-12-05 11:07:07 +0000
committerGlyn Normington2012-12-05 11:07:07 +0000
commitc75577780237a57f1f02aca92056c42b58bc2eca (patch)
treeefb21520b70893b37eea5de3cd5b2b8d4e770475
parente6ff6ce6354e82863243f804a36aba0274fe6074 (diff)
downloadorg.eclipse.gemini.blueprint-c75577780237a57f1f02aca92056c42b58bc2eca.tar.gz
org.eclipse.gemini.blueprint-c75577780237a57f1f02aca92056c42b58bc2eca.tar.xz
org.eclipse.gemini.blueprint-c75577780237a57f1f02aca92056c42b58bc2eca.zip
392500: delete unnecessary code
-rw-r--r--core/src/main/java/org/eclipse/gemini/blueprint/blueprint/container/TypeFactory.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/src/main/java/org/eclipse/gemini/blueprint/blueprint/container/TypeFactory.java b/core/src/main/java/org/eclipse/gemini/blueprint/blueprint/container/TypeFactory.java
index 2033271..c6c19b0 100644
--- a/core/src/main/java/org/eclipse/gemini/blueprint/blueprint/container/TypeFactory.java
+++ b/core/src/main/java/org/eclipse/gemini/blueprint/blueprint/container/TypeFactory.java
@@ -142,16 +142,7 @@ class TypeFactory {
}
variableTypes.add(targetType);
Type[] bounds = typeVariable.getBounds();
- for (Type bound : bounds) {
- if (bound instanceof ParameterizedType) {
- Type ata = ((ParameterizedType) bound).getActualTypeArguments()[0];
- if (ata instanceof TypeVariable) {
- variableTypes.add(ata);
- }
- return getReifiedType(bound, variableTypes);
- }
- }
-
+
return getReifiedType(bounds[0], variableTypes);
}

Back to the top