@@ -42,34 +42,28 @@ void removedExpressionLanguageTestJakarta_1() {
4242 //language=java
4343 java (
4444 """
45- package com.test;
46-
4745 import jakarta.faces.el.MethodBinding;
4846 import jakarta.faces.el.PropertyResolver;
4947 import jakarta.faces.el.ValueBinding;
5048
51- public class Test {
52-
53- public void testJakarta() {
49+ class Test {
50+ void testJakarta() {
5451 MethodBinding methodBinding = null;
5552 PropertyResolver propertyResolver = null;
5653 ValueBinding valueBinding = null;
5754 }
5855 }
5956 """ ,
6057 """
61- package com.test;
62-
6358 import jakarta.el.ELResolver;
6459 import jakarta.el.MethodExpression;
6560 import jakarta.el.ValueExpression;
6661
67- public class Test {
68-
69- public void testJakarta() {
70- MethodExpression methodExpression = null;
71- ELResolver eLResolver = null;
72- ValueExpression valueExpression = null;
62+ class Test {
63+ void testJakarta() {
64+ MethodExpression methodBinding = null;
65+ ELResolver propertyResolver = null;
66+ ValueExpression valueBinding = null;
7367 }
7468 }
7569 """
@@ -82,17 +76,14 @@ void removedExpressionLanguageTestJakarta_2() {
8276 //language=java
8377 java (
8478 """
85- package com.test;
86-
8779 import jakarta.faces.el.VariableResolver;
8880 import jakarta.faces.el.EvaluationException;
8981 import jakarta.faces.el.MethodNotFoundException;
9082 import jakarta.faces.el.PropertyNotFoundException;
9183 import jakarta.faces.el.ReferenceSyntaxException;
9284
93- public class Test {
94-
95- public void testJakarta_1() {
85+ class Test {
86+ void testJakarta_1() {
9687 VariableResolver variableResolver = null;
9788 EvaluationException evaluationException = null;
9889 MethodNotFoundException methodNotFoundException = null;
@@ -102,21 +93,18 @@ public void testJakarta_1() {
10293 }
10394 """ ,
10495 """
105- package com.test;
106-
10796 import jakarta.el.ELException;
10897 import jakarta.el.ELResolver;
10998 import jakarta.el.MethodNotFoundException;
11099 import jakarta.el.PropertyNotFoundException;
111100
112- public class Test {
113-
114- public void testJakarta_1() {
115- ELResolver eLResolver = null;
116- ELException eLException = null;
101+ class Test {
102+ void testJakarta_1() {
103+ ELResolver variableResolver = null;
104+ ELException evaluationException = null;
117105 MethodNotFoundException methodNotFoundException = null;
118106 PropertyNotFoundException propertyNotFoundException = null;
119- ELException eLException1 = null;
107+ ELException referenceSyntaxException = null;
120108 }
121109 }
122110 """
@@ -129,34 +117,28 @@ void removedExpressionLanguageTestJavax_1() {
129117 //language=java
130118 java (
131119 """
132- package com.test;
133-
134120 import javax.faces.el.MethodBinding;
135121 import javax.faces.el.PropertyResolver;
136122 import javax.faces.el.ValueBinding;
137123
138- public class Test {
139-
140- public void testJavax() {
124+ class Test {
125+ void testJavax() {
141126 MethodBinding methodBinding = null;
142127 PropertyResolver propertyResolver = null;
143128 ValueBinding valueBinding = null;
144129 }
145130 }
146131 """ ,
147132 """
148- package com.test;
149-
150133 import jakarta.el.ELResolver;
151134 import jakarta.el.MethodExpression;
152135 import jakarta.el.ValueExpression;
153136
154- public class Test {
155-
156- public void testJavax() {
157- MethodExpression methodExpression = null;
158- ELResolver eLResolver = null;
159- ValueExpression valueExpression = null;
137+ class Test {
138+ void testJavax() {
139+ MethodExpression methodBinding = null;
140+ ELResolver propertyResolver = null;
141+ ValueExpression valueBinding = null;
160142 }
161143 }
162144 """
@@ -169,17 +151,14 @@ void removedExpressionLanguageTestJavax_2() {
169151 //language=java
170152 java (
171153 """
172- package com.test;
173-
174154 import javax.faces.el.VariableResolver;
175155 import javax.faces.el.EvaluationException;
176156 import javax.faces.el.MethodNotFoundException;
177157 import javax.faces.el.PropertyNotFoundException;
178158 import javax.faces.el.ReferenceSyntaxException;
179159
180- public class Test {
181-
182- public void testJavax_1() {
160+ class Test {
161+ void testJavax_1() {
183162 VariableResolver variableResolver = null;
184163 EvaluationException evaluationException = null;
185164 MethodNotFoundException methodNotFoundException = null;
@@ -189,21 +168,18 @@ public void testJavax_1() {
189168 }
190169 """ ,
191170 """
192- package com.test;
193-
194171 import jakarta.el.ELException;
195172 import jakarta.el.ELResolver;
196173 import jakarta.el.MethodNotFoundException;
197174 import jakarta.el.PropertyNotFoundException;
198175
199- public class Test {
200-
201- public void testJavax_1() {
202- ELResolver eLResolver = null;
203- ELException eLException = null;
176+ class Test {
177+ void testJavax_1() {
178+ ELResolver variableResolver = null;
179+ ELException evaluationException = null;
204180 MethodNotFoundException methodNotFoundException = null;
205181 PropertyNotFoundException propertyNotFoundException = null;
206- ELException eLException1 = null;
182+ ELException referenceSyntaxException = null;
207183 }
208184 }
209185 """
0 commit comments