diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-04 12:54:49 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-04 12:54:49 +0000 |
commit | 771e91d9dc5b93d9d01e7d6376feaf3bcfcc616b (patch) | |
tree | b4a7fd9ce4a425fd86840f0e1c68f2016ef9e2e0 /java/sca/modules/interface-java/src/test | |
parent | a2c567ba2efd4e6dd67a72a040626f2a93927e14 (diff) |
Fixed generics raw type compiler warnings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@723303 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/interface-java/src/test')
-rw-r--r-- | java/sca/modules/interface-java/src/test/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceUtilDuplicateRemotableTestCase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/sca/modules/interface-java/src/test/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceUtilDuplicateRemotableTestCase.java b/java/sca/modules/interface-java/src/test/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceUtilDuplicateRemotableTestCase.java index d8134ae687..f5ebbcac4c 100644 --- a/java/sca/modules/interface-java/src/test/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceUtilDuplicateRemotableTestCase.java +++ b/java/sca/modules/interface-java/src/test/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaInterfaceUtilDuplicateRemotableTestCase.java @@ -63,7 +63,7 @@ public class JavaInterfaceUtilDuplicateRemotableTestCase { * @param timeServiceClass The class that implements the LocalTimeService * @throws Exception Test failed */ - private void doTestLocalTimeServiceGetTime(Class timeServiceClass) throws Exception { + private void doTestLocalTimeServiceGetTime(Class<?> timeServiceClass) throws Exception { // Add a getTime() method Operation operation = newOperation("getTime", LocalTimeService.class); @@ -89,7 +89,7 @@ public class JavaInterfaceUtilDuplicateRemotableTestCase { * @param timeServiceClass The class that implements the WorldTimeService * @throws Exception Test failed */ - private void doTestWorldTimeServiceGetTime(Class timeServiceClass) throws Exception { + private void doTestWorldTimeServiceGetTime(Class<?> timeServiceClass) throws Exception { // Add a getTime(String) method Operation operation = newOperation("getTime", WorldTimeService.class, String.class); @@ -116,7 +116,7 @@ public class JavaInterfaceUtilDuplicateRemotableTestCase { * @param timeServiceClass The class that implements the WorldTimeService * @throws Exception Test failed */ - private void doTestGMTTimeServiceGetTime(Class timeServiceClass) throws Exception { + private void doTestGMTTimeServiceGetTime(Class<?> timeServiceClass) throws Exception { // Add a getTime(String) method Operation operation = newOperation("getTime", GMTTimeService.class, Integer.TYPE); @@ -167,7 +167,7 @@ public class JavaInterfaceUtilDuplicateRemotableTestCase { * @param parameterTypes The types of the parameters for this operation * @return An operation with the specified name and parameter types */ - private static Operation newOperation(String name, Class operationInterface, Class... parameterTypes) { + private static Operation newOperation(String name, Class<?> operationInterface, Class<?>... parameterTypes) { // Create and set the operation name Operation operation = new OperationImpl(); operation.setName(name); @@ -180,7 +180,7 @@ public class JavaInterfaceUtilDuplicateRemotableTestCase { // Construct the parameters List<DataType> types = new ArrayList<DataType>(); DataType<List<DataType>> inputType = new DataTypeImpl<List<DataType>>(Object[].class, types); - for (Class parameterType : parameterTypes) { + for (Class<?> parameterType : parameterTypes) { DataType type = new DataTypeImpl<Class>(parameterType, Object.class); types.add(type); } |