You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/03/17 23:10:19 UTC

svn commit: r755422 - in /myfaces/core/branches/2_0_0/api/src/main/java/javax/faces: FactoryFinder.java application/DiscoveryHandler.java application/DiscoveryHandlerFactory.java application/DiscoveryHandlerWrapper.java

Author: lu4242
Date: Tue Mar 17 22:10:18 2009
New Revision: 755422

URL: http://svn.apache.org/viewvc?rev=755422&view=rev
Log:
Remove DiscoveryHandler because it was removed from latest javadoc

Removed:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/DiscoveryHandler.java
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/DiscoveryHandlerFactory.java
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/DiscoveryHandlerWrapper.java
Modified:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/FactoryFinder.java

Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/FactoryFinder.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/FactoryFinder.java?rev=755422&r1=755421&r2=755422&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/FactoryFinder.java (original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/FactoryFinder.java Tue Mar 17 22:10:18 2009
@@ -30,7 +30,6 @@
 import java.util.Set;
 
 import javax.faces.application.ApplicationFactory;
-import javax.faces.application.DiscoveryHandlerFactory;
 import javax.faces.context.ExceptionHandlerFactory;
 import javax.faces.context.FacesContextFactory;
 import javax.faces.lifecycle.LifecycleFactory;
@@ -52,11 +51,6 @@
     /**
      * @since 2.0
      */
-    public static final String DISCOVERY_HANDLER_FACTORY = "javax.faces.application.DiscoveryHandlerFactory";
-
-    /**
-     * @since 2.0
-     */
     public static final String EXCEPTION_HANDLER_FACTORY = "javax.faces.context.ExceptionHandlerFactory";
 
     /**
@@ -86,14 +80,12 @@
         VALID_FACTORY_NAMES.add(FACES_CONTEXT_FACTORY);
         VALID_FACTORY_NAMES.add(LIFECYCLE_FACTORY);
         VALID_FACTORY_NAMES.add(RENDER_KIT_FACTORY);
-        VALID_FACTORY_NAMES.add(DISCOVERY_HANDLER_FACTORY);
         VALID_FACTORY_NAMES.add(EXCEPTION_HANDLER_FACTORY);
 
         ABSTRACT_FACTORY_CLASSES.put(APPLICATION_FACTORY, ApplicationFactory.class);
         ABSTRACT_FACTORY_CLASSES.put(FACES_CONTEXT_FACTORY, FacesContextFactory.class);
         ABSTRACT_FACTORY_CLASSES.put(LIFECYCLE_FACTORY, LifecycleFactory.class);
         ABSTRACT_FACTORY_CLASSES.put(RENDER_KIT_FACTORY, RenderKitFactory.class);
-        ABSTRACT_FACTORY_CLASSES.put(DISCOVERY_HANDLER_FACTORY, DiscoveryHandlerFactory.class);
         ABSTRACT_FACTORY_CLASSES.put(EXCEPTION_HANDLER_FACTORY, ExceptionHandlerFactory.class);
     }