diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-03 15:56:19 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-03 15:56:19 +0000 |
commit | 3dab8606b995c6bd02720a7aee0747e80d089108 (patch) | |
tree | 13d54962e467775e9845558d77e8386c655ae29e /java | |
parent | f7b9990c7b848860f0ef5f32ecbdd8af853bf135 (diff) |
Fixed generics raw type compiler warnings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@722945 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/modules/contribution-java/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassReferenceModelResolver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/contribution-java/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassReferenceModelResolver.java b/java/sca/modules/contribution-java/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassReferenceModelResolver.java index d11753f3aa..6dacecb5ac 100644 --- a/java/sca/modules/contribution-java/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassReferenceModelResolver.java +++ b/java/sca/modules/contribution-java/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassReferenceModelResolver.java @@ -83,7 +83,7 @@ public class ClassReferenceModelResolver implements ModelResolver { Class<?> osgiResolverClass =
Class.forName("org.apache.tuscany.sca.contribution.osgi.impl.OSGiClassReferenceModelResolver");
if (osgiResolverClass != null) {
- Constructor constructor =
+ Constructor<?> constructor =
osgiResolverClass.getConstructor(Contribution.class, FactoryExtensionPoint.class);
this.osgiResolver = (ModelResolver)constructor.newInstance(contribution, modelFactories);
}
@@ -114,7 +114,7 @@ public class ClassReferenceModelResolver implements ModelResolver { }
//Load a class on demand
- Class clazz = null;
+ Class<?> clazz = null;
if (osgiResolver != null) {
resolved = osgiResolver.resolveModel(modelClass, unresolved);
|