myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1538041 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/spi/ServiceProviderFinder.java
Date Fri, 01 Nov 2013 19:32:46 GMT
Author: lu4242
Date: Fri Nov  1 19:32:46 2013
New Revision: 1538041

URL: http://svn.apache.org/r1538041
Log:
small fix add default implementation for method

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/spi/ServiceProviderFinder.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/spi/ServiceProviderFinder.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/spi/ServiceProviderFinder.java?rev=1538041&r1=1538040&r2=1538041&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/spi/ServiceProviderFinder.java
(original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/spi/ServiceProviderFinder.java
Fri Nov  1 19:32:46 2013
@@ -90,7 +90,10 @@ public abstract class ServiceProviderFin
      */
     public abstract List<String> getServiceProviderList(String spiClass);
     
-    public abstract <S> ServiceLoader<S> load(Class<S> spiClass);
+    public <S> ServiceLoader<S> load(Class<S> spiClass)
+    {
+        return ServiceLoader.load(spiClass);
+    }
     
     /**
      * If ServiceProviderFinderFactory knows beforehand or has stored somewhere the



Mime
View raw message