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 2022/01/18 13:16:06 UTC

[myfaces] branch master updated: deprecate for 4.0

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


The following commit(s) were added to refs/heads/master by this push:
     new cc796b3  deprecate for 4.0
cc796b3 is described below

commit cc796b3899bf8cedb54f0d4d92883c577e714a02
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Tue Jan 18 14:15:59 2022 +0100

    deprecate for 4.0
---
 api/src/main/java/jakarta/faces/annotation/FacesConfig.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/api/src/main/java/jakarta/faces/annotation/FacesConfig.java b/api/src/main/java/jakarta/faces/annotation/FacesConfig.java
index 1c8b956..cdf09f8 100644
--- a/api/src/main/java/jakarta/faces/annotation/FacesConfig.java
+++ b/api/src/main/java/jakarta/faces/annotation/FacesConfig.java
@@ -34,9 +34,10 @@ import jakarta.inject.Qualifier;
 @Retention(value=RetentionPolicy.RUNTIME)
 public @interface FacesConfig
 {
-    
+    @Deprecated(forRemoval = true, since = "4.0")
     @Nonbinding Version version() default Version.JSF_2_3;
 
+    @Deprecated(forRemoval = true, since = "4.0")
     public static enum Version 
     {
         JSF_2_3