Author: ehillenius
Date: Thu Mar 22 21:18:31 2007
New Revision: 521576

URL: http://svn.apache.org/viewvc?view=rev&rev=521576
Log:
help people upgrade

Modified:
    
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java

Modified: 
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java?view=diff&rev=521576&r1=521575&r2=521576
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java
 Thu Mar 22 21:18:31 2007
@@ -2802,15 +2802,6 @@
        }
 
        /**
-        * Called when a request begins.
-        * 
-        * @deprecated use onAttach() instead. This method will be removed in 
1.3
-        */
-       protected void onBeginRequest()
-       {
-       }
-
-       /**
         * Processes the component tag.
         * 
         * @param tag
@@ -2851,21 +2842,6 @@
        }
 
        /**
-        * Called when a request ends.
-        * 
-        * @deprecated This method will be removed in Wicket 1.3. It will 
PROBABLY
-        *             be replaced by onEndRender or afterRender with different
-        *             semantics. Instead of calling it after a request is done 
like
-        *             is currently the case, that new method will be called 
after
-        *             this component is rendered, which is a more precise 
scope.
-        *             This semantical change shouldn't have a noticable impact 
on
-        *             it's use I believe.
-        */
-       protected void onEndRequest()
-       {
-       }
-
-       /**
         * Called anytime a model is changed after the change has occurred
         */
        protected void onModelChanged()
@@ -2882,17 +2858,6 @@
        /**
         * Implementation that renders this component.
         * 
-        * @deprecated since 1.2 Please implement onRender(MarkupStream) instead
-        */
-       // TODO Post 1.2: Remove this method?
-       protected final void onRender()
-       {
-               onRender(findMarkupStream());
-       }
-
-       /**
-        * Implementation that renders this component.
-        * 
         * @since Wicket 1.2
         * @param markupStream
         */
@@ -3238,6 +3203,24 @@
         */
        // TODO remove after deprecation release
        public final void internalDetach()
+       {
+               throw new UnsupportedOperationException();
+       }
+
+       /**
+        * @deprecated use onAttach() instead
+        */
+       // TODO remove after the deprecation release
+       protected final void onBeginRequest()
+       {
+               throw new UnsupportedOperationException();
+       }
+
+       /**
+        * @deprecated use onDetach() instead
+        */
+       // TODO remove after the deprecation release
+       protected final void onEndRequest()
        {
                throw new UnsupportedOperationException();
        }


Reply via email to