You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mb...@apache.org on 2007/03/02 11:12:05 UTC

svn commit: r513685 - /myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ExternalContext.java

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);