You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2026/01/09 13:36:42 UTC
(myfaces) branch main updated: Spec #2027 - Better implement generics in UIData#getDataModel
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/main by this push:
new 9ede7cd05 Spec #2027 - Better implement generics in UIData#getDataModel
9ede7cd05 is described below
commit 9ede7cd05e4af0fd7e29325fe41984b68e9bc802
Author: tandraschko <ta...@apache.org>
AuthorDate: Fri Jan 9 14:36:33 2026 +0100
Spec #2027 - Better implement generics in UIData#getDataModel
---
api/src/main/java/jakarta/faces/component/UIData.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/src/main/java/jakarta/faces/component/UIData.java b/api/src/main/java/jakarta/faces/component/UIData.java
index 95130aa39..3e402b8f4 100644
--- a/api/src/main/java/jakarta/faces/component/UIData.java
+++ b/api/src/main/java/jakarta/faces/component/UIData.java
@@ -1884,7 +1884,7 @@ private void process(FacesContext context, UIComponent component, int processAct
* component is therefore used to cache the datamodel for each row of the table. In the normal case where this table
* is not nested inside a component that changes its id (like a table does) then this map only ever has one entry.
*/
- protected DataModel getDataModel()
+ protected <T> DataModel<T> getDataModel()
{
DataModel dataModel;
String clientID = "";