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 2025/08/26 07:42:26 UTC

(myfaces) branch main updated: fixed integration test compilation

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 fe8ba6193 fixed integration test compilation
fe8ba6193 is described below

commit fe8ba61937e01aaab4bc7d185939926e2da63c0f
Author: tandraschko <ta...@apache.org>
AuthorDate: Tue Aug 26 09:42:15 2025 +0200

    fixed integration test compilation
---
 .../org/apache/myfaces/core/integrationtests/ajax/basic/TestBean.java | 4 +---
 .../org/apache/myfaces/core/integrationtests/IntegrationTestBean.java | 4 +---
 .../org/apache/myfaces/core/integrationtests/IntegrationTestBean.java | 4 +---
 .../org/apache/myfaces/core/integrationtests/IntegrationTestBean.java | 4 +---
 .../org/apache/myfaces/core/integrationtests/IntegrationTestBean.java | 4 +---
 5 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/integration-tests/ajax/src/main/java/org/apache/myfaces/core/integrationtests/ajax/basic/TestBean.java b/integration-tests/ajax/src/main/java/org/apache/myfaces/core/integrationtests/ajax/basic/TestBean.java
index d022accce..83ed3b224 100644
--- a/integration-tests/ajax/src/main/java/org/apache/myfaces/core/integrationtests/ajax/basic/TestBean.java
+++ b/integration-tests/ajax/src/main/java/org/apache/myfaces/core/integrationtests/ajax/basic/TestBean.java
@@ -22,11 +22,9 @@
 import jakarta.faces.annotation.FacesConfig;
 import jakarta.inject.Named;
 
-import static jakarta.faces.annotation.FacesConfig.Version.JSF_2_3;
-
 @Named
 @RequestScoped
-@FacesConfig(version = JSF_2_3)
+@FacesConfig
 public class TestBean
 {
     private String sayHello = "hello world from bean";
diff --git a/integration-tests/autoLookupExpressionFactoryWithoutJSP/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java b/integration-tests/autoLookupExpressionFactoryWithoutJSP/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
index 4970fdee2..1b4c5290b 100644
--- a/integration-tests/autoLookupExpressionFactoryWithoutJSP/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
+++ b/integration-tests/autoLookupExpressionFactoryWithoutJSP/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
@@ -18,13 +18,11 @@
  */
 package org.apache.myfaces.core.integrationtests;
 
-import static jakarta.faces.annotation.FacesConfig.Version.JSF_2_3;
-
 import jakarta.enterprise.context.RequestScoped;
 import jakarta.faces.annotation.FacesConfig;
 import jakarta.inject.Named;
 
-@FacesConfig(version = JSF_2_3)
+@FacesConfig
 @Named
 @RequestScoped
 public class IntegrationTestBean
diff --git a/integration-tests/automaticExtensionlessMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java b/integration-tests/automaticExtensionlessMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
index 7f04e415e..e8fffe2da 100644
--- a/integration-tests/automaticExtensionlessMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
+++ b/integration-tests/automaticExtensionlessMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
@@ -18,13 +18,11 @@
  */
 package org.apache.myfaces.core.integrationtests;
 
-import static jakarta.faces.annotation.FacesConfig.Version.JSF_2_3;
-
 import jakarta.enterprise.context.RequestScoped;
 import jakarta.faces.annotation.FacesConfig;
 import jakarta.inject.Named;
 
-@FacesConfig(version = JSF_2_3)
+@FacesConfig
 @Named
 @RequestScoped
 public class IntegrationTestBean
diff --git a/integration-tests/exactMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java b/integration-tests/exactMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
index 3effb8516..af1686e88 100644
--- a/integration-tests/exactMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
+++ b/integration-tests/exactMapping/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
@@ -18,13 +18,11 @@
  */
 package org.apache.myfaces.core.integrationtests;
 
-import static jakarta.faces.annotation.FacesConfig.Version.JSF_2_3;
-
 import jakarta.enterprise.context.RequestScoped;
 import jakarta.faces.annotation.FacesConfig;
 import jakarta.inject.Named;
 
-@FacesConfig(version = JSF_2_3)
+@FacesConfig
 @Named
 @RequestScoped
 public class IntegrationTestBean
diff --git a/integration-tests/protectedViews/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java b/integration-tests/protectedViews/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
index 711e346a0..8f169197c 100644
--- a/integration-tests/protectedViews/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
+++ b/integration-tests/protectedViews/src/main/java/org/apache/myfaces/core/integrationtests/IntegrationTestBean.java
@@ -18,13 +18,11 @@
  */
 package org.apache.myfaces.core.integrationtests;
 
-import static jakarta.faces.annotation.FacesConfig.Version.JSF_2_3;
-
 import jakarta.enterprise.context.RequestScoped;
 import jakarta.faces.annotation.FacesConfig;
 import jakarta.inject.Named;
 
-@FacesConfig(version = JSF_2_3)
+@FacesConfig
 @Named
 @RequestScoped
 public class IntegrationTestBean