diff options
Diffstat (limited to 'java/sca/modules/contribution-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);
|