You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2021/01/14 20:10:14 UTC

[myfaces] branch 3.0.x updated: Fix Deprecation Annotations in UIInput (MYFACES-4372)

This is an automated email from the ASF dual-hosted git repository.

volosied pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/3.0.x by this push:
     new 5edfa13  Fix Deprecation Annotations in UIInput (MYFACES-4372)
5edfa13 is described below

commit 5edfa13be51f31aa5ce76e362ba65dd45835696a
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Thu Jan 14 15:02:58 2021 -0500

    Fix Deprecation Annotations in UIInput (MYFACES-4372)
---
 api/src/main/java/jakarta/faces/component/UIInput.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/api/src/main/java/jakarta/faces/component/UIInput.java b/api/src/main/java/jakarta/faces/component/UIInput.java
index fae2695..b52048a 100644
--- a/api/src/main/java/jakarta/faces/component/UIInput.java
+++ b/api/src/main/java/jakarta/faces/component/UIInput.java
@@ -1018,11 +1018,7 @@ public class UIInput extends UIOutput implements EditableValueHolder
      * <p>
      * The phase in which this method is invoked can be controlled via the immediate attribute.
      * </p>
-     * 
-     * @deprecated
-     * 
      */
-    @Deprecated
     @JSFProperty(stateHolder=true, returnSignature = "void",
                  methodSignature = "jakarta.faces.event.ValueChangeEvent", clientEvent="valueChange")
     public MethodBinding getValueChangeListener()
@@ -1032,7 +1028,10 @@ public class UIInput extends UIOutput implements EditableValueHolder
 
     /**
      * See getValueChangeListener.
+     * 
+     * @deprecated Use addValueChangeListener instead
      */
+    @Deprecated
     public void setValueChangeListener(MethodBinding valueChangeListener)
     {
         getStateHelper().put(PropertyKeys.valueChangeListener, valueChangeListener);