diff options
-rw-r--r-- | java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessorUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessorUtil.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessorUtil.java index 62133b1697..699b1cb176 100644 --- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessorUtil.java +++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/JMSMessageProcessorUtil.java @@ -46,7 +46,7 @@ public class JMSMessageProcessorUtil { } try { - Class clazz; + Class<?> clazz; try { clazz = cl.loadClass(className); @@ -54,7 +54,7 @@ public class JMSMessageProcessorUtil { clazz = binding.getClass().getClassLoader().loadClass(className); } - Constructor constructor = clazz.getDeclaredConstructor(new Class[] {JMSBinding.class}); + Constructor<?> constructor = clazz.getDeclaredConstructor(new Class[] {JMSBinding.class}); instance = constructor.newInstance(binding); } catch (Throwable e) { |