Author: thomas.diesler(a)jboss.com
Date: 2007-08-13 09:16:44 -0400 (Mon, 13 Aug 2007)
New Revision: 4333
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/SPIProviderResolver.java
Log:
layout code
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/SPIProviderResolver.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/SPIProviderResolver.java 2007-08-13 12:59:45
UTC (rev 4332)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/SPIProviderResolver.java 2007-08-13 13:16:44
UTC (rev 4333)
@@ -23,7 +23,6 @@
import org.jboss.wsf.spi.util.ServiceLoader;
-
/**
* Locates an SPIProvider.
*
@@ -36,10 +35,8 @@
public static SPIProviderResolver getInstance()
{
- return (SPIProviderResolver) ServiceLoader.loadService(
- SPIProviderResolver.class.getName(),
- DEFAULT_SPI_PROVIDER_RESOLVER
- );
+ SPIProviderResolver resolver =
(SPIProviderResolver)ServiceLoader.loadService(SPIProviderResolver.class.getName(),
DEFAULT_SPI_PROVIDER_RESOLVER);
+ return resolver;
}
public abstract SPIProvider getProvider();
Show replies by date