myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sless...@apache.org
Subject svn commit: r696523 - /myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Application.java
Date Thu, 18 Sep 2008 00:02:05 GMT
Author: slessard
Date: Wed Sep 17 17:02:05 2008
New Revision: 696523

URL: http://svn.apache.org/viewvc?rev=696523&view=rev
Log:
Added missing throw UnsupportedOperationException

Modified:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Application.java

Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Application.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Application.java?rev=696523&r1=696522&r2=696523&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Application.java
(original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/application/Application.java
Wed Sep 17 17:02:05 2008
@@ -117,8 +117,7 @@
     
     public void publishEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListenerHolder
source)
     {
-        // TODO: JSF 2.0 #5
-        // VALIDATE: Shouldn't this be abstract or throw UnsupportedOperationException?
+        throw new UnsupportedOperationException();
     }
 
     public void removeELContextListener(ELContextListener listener)
@@ -199,9 +198,7 @@
     public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, 
                                  Class sourceClass, SystemEventListener listener)
     {
-        // TODO: JSF 2.0 #7
-        // VALIDATE: Shouldn't this be abstract?
-        // FIXME: Parameter sourceClass should be Class<?>, need to notify the EG
+        throw new UnsupportedOperationException();
     }
     
     public void subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener
listener)
@@ -212,15 +209,12 @@
     public void unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass,

                                      Class sourceClass, SystemEventListener listener)
     {
-        // TODO: JSF 2.0 #9
-        // VALIDATE: Shouldn't this be abstract?
-        // FIXME: Parameter sourceClass should be Class<?>, need to notify the EG
+        throw new UnsupportedOperationException();
     }
     
     public void unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass,
SystemEventListener listener)
     {
-        // TODO: JSF 2.0 #10
-        // VALIDATE: Shouldn't this be abstract?
+        throw new UnsupportedOperationException();
     }
 
     public abstract javax.faces.application.StateManager getStateManager();



Mime
View raw message