myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: comments
Date Wed, 20 Nov 2019 21:57:42 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


View the commit online:
https://github.com/apache/myfaces/commit/9ce8a8068697f2162dbd3754c6e4998cf5e4b761

The following commit(s) were added to refs/heads/master by this push:
     new 9ce8a80  comments
9ce8a80 is described below

commit 9ce8a8068697f2162dbd3754c6e4998cf5e4b761
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Wed Nov 20 22:57:34 2019 +0100

    comments
---
 api/src/main/java/javax/faces/component/UIComponentBase.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/api/src/main/java/javax/faces/component/UIComponentBase.java b/api/src/main/java/javax/faces/component/UIComponentBase.java
index 832182f..03fea97 100755
--- a/api/src/main/java/javax/faces/component/UIComponentBase.java
+++ b/api/src/main/java/javax/faces/component/UIComponentBase.java
@@ -82,7 +82,11 @@ public abstract class UIComponentBase extends UIComponent
             = "javax.faces.component.UIComponentBase.SHARED_STRING_BUILDER";
 
     static final int RESET_MODE_OFF = 0;
+    // A soft reset clears the "transient" state or those internal attributes used by the
component
+    // but it does not clear the "delta" state.
     static final int RESET_MODE_SOFT = 1;
+    // A hard reset destroy both the "transient" state and the "delta" state. If the component
cannot be reset,
+    // saveState() should return a non null value.
     static final int RESET_MODE_HARD = 2;
 
     private _ComponentAttributesMap _attributesMap = null;


Mime
View raw message