From e859f96470945bde86332e34475c4c8f555eb0d2 Mon Sep 17 00:00:00 2001 From: mcombellack Date: Tue, 9 Dec 2008 13:32:32 +0000 Subject: Fixed generics raw type compiler warnings git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@724683 13f79535-47bb-0310-9956-ffa450edef68 --- ...DefaultEndpointResolverFactoryExtensionPoint.java | 4 ++-- .../DefaultProviderFactoryExtensionPoint.java | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/endpointresolver/DefaultEndpointResolverFactoryExtensionPoint.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/endpointresolver/DefaultEndpointResolverFactoryExtensionPoint.java index 81f619cef3..2aea4baa67 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/endpointresolver/DefaultEndpointResolverFactoryExtensionPoint.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/endpointresolver/DefaultEndpointResolverFactoryExtensionPoint.java @@ -135,7 +135,7 @@ public class DefaultEndpointResolverFactoryExtensionPoint implements EndpointRes private String modelTypeName; private ServiceDeclaration providerClass; private EndpointResolverFactory factory; - private Class modelType; + private Class modelType; private LazyEndpointResolverFactory(ExtensionPointRegistry registry, String modelTypeName, @@ -164,7 +164,7 @@ public class DefaultEndpointResolverFactoryExtensionPoint implements EndpointRes return getFactory().createEndpointResolver(endpoint, binding); } - public Class getModelType() { + public Class getModelType() { if (modelType == null) { try { modelType = providerClass.loadClass(modelTypeName); diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/DefaultProviderFactoryExtensionPoint.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/DefaultProviderFactoryExtensionPoint.java index 54912c1574..5e17737d58 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/DefaultProviderFactoryExtensionPoint.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/DefaultProviderFactoryExtensionPoint.java @@ -208,7 +208,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte private String modelTypeName; private ServiceDeclaration factoryDeclaration; private BindingProviderFactory factory; - private Class modelType; + private Class modelType; private LazyBindingProviderFactory(ExtensionPointRegistry registry, String modelTypeName, @@ -248,7 +248,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte return getFactory().createServiceBindingProvider(component, service, binding); } - public Class getModelType() { + public Class getModelType() { if (modelType == null) { try { modelType = factoryDeclaration.loadClass(modelTypeName); @@ -271,7 +271,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte private String modelTypeName; private ServiceDeclaration providerClass; private ImplementationProviderFactory factory; - private Class modelType; + private Class modelType; private LazyImplementationProviderFactory(ExtensionPointRegistry registry, String modelTypeName, @@ -303,7 +303,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte return getFactory().createImplementationProvider(component, Implementation); } - public Class getModelType() { + public Class getModelType() { if (modelType == null) { try { @@ -326,7 +326,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte private String modelTypeName; private ServiceDeclaration providerClass; private PolicyProviderFactory factory; - private Class modelType; + private Class modelType; private LazyPolicyProviderFactory(ExtensionPointRegistry registry, String modelTypeName, @@ -368,7 +368,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte return getFactory().createServicePolicyProvider(component, service, binding); } - public Class getModelType() { + public Class getModelType() { if (modelType == null) { try { modelType = providerClass.loadClass(modelTypeName); @@ -390,7 +390,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte private String modelTypeName; private ServiceDeclaration providerClass; private WireFormatProviderFactory factory; - private Class modelType; + private Class modelType; private LazyWireFormatProviderFactory(ExtensionPointRegistry registry, String modelTypeName, @@ -428,7 +428,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte return getFactory().createServiceWireFormatProvider(component, service, binding); } - public Class getModelType() { + public Class getModelType() { if (modelType == null) { try { @@ -451,7 +451,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte private String modelTypeName; private ServiceDeclaration providerClass; private OperationSelectorProviderFactory factory; - private Class modelType; + private Class modelType; private LazyOperationSelectorProviderFactory(ExtensionPointRegistry registry, String modelTypeName, @@ -489,7 +489,7 @@ public class DefaultProviderFactoryExtensionPoint implements ProviderFactoryExte return getFactory().createServiceOperationSelectorProvider(component, service, binding); } - public Class getModelType() { + public Class getModelType() { if (modelType == null) { try { -- cgit v1.2.3