myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r513685 - /myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java
Date Fri, 02 Mar 2007 10:12:05 GMT
Author: mbr
Date: Fri Mar  2 02:12:05 2007
New Revision: 513685

URL: http://svn.apache.org/viewvc?view=rev&rev=513685
Log:
getResponseContentType is not abstract

Modified:
    myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java

Modified: myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java?view=diff&rev=513685&r1=513684&r2=513685
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java
(original)
+++ myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java
Fri Mar  2 02:12:05 2007
@@ -99,7 +99,14 @@
 
     public abstract Object getResponse();
     
-    public abstract String getResponseContentType();
+    /**
+     * throws <code>UnsupportedOperationException</code> by default.
+     * @since JSF 1.2
+     */
+    public String getResponseContentType()
+    {
+        throw new UnsupportedOperationException();
+    }
 
     public abstract Object getSession(boolean create);
 



Mime
View raw message