diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-16 14:16:50 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-16 14:16:50 +0000 |
commit | 5e41417d52e9eeaa77b41d9b4357651f8df7d696 (patch) | |
tree | 64e6501fe98c567d4daeda73e5ff42dedda8d756 /java/sca/modules/binding-jms-runtime/src | |
parent | 17e0cc7c765502e6236a35aa534e2dc261f856f6 (diff) |
Fix eclipse warnings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@677291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/binding-jms-runtime/src')
-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) { |