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

svn commit: r786659 - /myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java

Author: matzew
Date: Fri Jun 19 20:43:16 2009
New Revision: 786659

URL: http://svn.apache.org/viewvc?rev=786659&view=rev
Log:
replacing a sun specific exception with UnsupportedOperationException

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java?rev=786659&r1=786658&r2=786659&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java (original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java Fri Jun 19 20:43:16 2009
@@ -76,8 +76,6 @@
 import org.apache.myfaces.trinidadinternal.util.nls.LocaleUtils;
 import org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl;
 
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
-
 
 /**
  */
@@ -915,7 +913,7 @@
     public void addRenderedPartialTarget(String id)
     {
       // not valid outside of rendering
-      throw new NotImplementedException();
+      throw new UnsupportedOperationException();
     }
 
     public boolean isPartialTarget(String clientId)
@@ -956,7 +954,7 @@
     public VisitContext getVisitContext()
     {
       // not valid outside of rendering
-      throw new NotImplementedException();
+      throw new UnsupportedOperationException();
     }
 
     private final HashSet<String> _componentIds = new HashSet<String>();