diff options
Diffstat (limited to 'java')
2 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/implementation-java-xml/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java b/java/sca/modules/implementation-java-xml/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java index 6e6ef7b387..143bb094a3 100644 --- a/java/sca/modules/implementation-java-xml/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java +++ b/java/sca/modules/implementation-java-xml/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java @@ -181,7 +181,7 @@ public class JavaImplementationProcessor implements StAXArtifactProcessor<JavaIm ClassReference classReference = new ClassReference(javaImplementation.getName()); classReference = resolver.resolveModel(ClassReference.class, classReference); - Class javaClass = classReference.getJavaClass(); + Class<?> javaClass = classReference.getJavaClass(); if (javaClass == null) { error("ClassNotFoundException", resolver, javaImplementation.getName()); //throw new ContributionResolveException(new ClassNotFoundException(javaImplementation.getName())); diff --git a/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/sca/implementation/java/xml/TestModelResolver.java b/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/sca/implementation/java/xml/TestModelResolver.java index 27e3579c35..085b21a652 100644 --- a/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/sca/implementation/java/xml/TestModelResolver.java +++ b/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/sca/implementation/java/xml/TestModelResolver.java @@ -54,7 +54,7 @@ public class TestModelResolver implements ModelResolver { // Load a class on demand ClassReference classReference = (ClassReference)unresolved; - Class clazz; + Class<?> clazz; try { clazz = Class.forName(classReference.getClassName(), true, classLoader.get()); } catch (ClassNotFoundException e) { |