tidy up ? extends noise in support class
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1084783 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/common/core/src/org/apache/felix/sigil/common/model/ModelElementSupport.java b/sigil/common/core/src/org/apache/felix/sigil/common/model/ModelElementSupport.java
index 4a88fae..c5b49f8 100644
--- a/sigil/common/core/src/org/apache/felix/sigil/common/model/ModelElementSupport.java
+++ b/sigil/common/core/src/org/apache/felix/sigil/common/model/ModelElementSupport.java
@@ -706,7 +706,7 @@
return false;
}
- abstract Class<? extends IModelElement> getType();
+ abstract Class<IModelElement> getType();
boolean remove(Object target, IModelElement element)
{
@@ -748,9 +748,9 @@
@SuppressWarnings("unchecked")
@Override
- Class<? extends IModelElement> getType()
+ Class<IModelElement> getType()
{
- return (Class<? extends IModelElement>) m.getReturnType();
+ return (Class<IModelElement>) m.getReturnType();
}
}
@@ -786,7 +786,7 @@
}
@Override
- Class<? extends IModelElement> getType()
+ Class<IModelElement> getType()
{
// impossible to get type of a collection as erasure removes generics info
return null;
@@ -817,9 +817,9 @@
@SuppressWarnings("unchecked")
@Override
- Class<? extends IModelElement> getType()
+ Class<IModelElement> getType()
{
- return (Class<? extends IModelElement>) m.getReturnType().getComponentType();
+ return (Class<IModelElement>) m.getReturnType().getComponentType();
}
}
@@ -860,9 +860,9 @@
@SuppressWarnings("unchecked")
@Override
- Class<? extends IModelElement> getType()
+ Class<IModelElement> getType()
{
- return (Class<? extends IModelElement>) m.getParameterTypes()[0];
+ return (Class<IModelElement>) m.getParameterTypes()[0];
}
}
@@ -889,9 +889,9 @@
@SuppressWarnings("unchecked")
@Override
- Class<? extends IModelElement> getType()
+ Class<IModelElement> getType()
{
- return (Class<? extends IModelElement>) m.getParameterTypes()[0];
+ return (Class<IModelElement>) m.getParameterTypes()[0];
}
}
@@ -919,9 +919,9 @@
@SuppressWarnings("unchecked")
@Override
- Class<? extends IModelElement> getType()
+ Class<IModelElement> getType()
{
- return (Class<? extends IModelElement>) m.getParameterTypes()[0];
+ return (Class<IModelElement>) m.getParameterTypes()[0];
}
}