@@ -42,34 +42,28 @@ void removedExpressionLanguageTestJakarta_1() {
42
42
//language=java
43
43
java (
44
44
"""
45
- package com.test;
46
-
47
45
import jakarta.faces.el.MethodBinding;
48
46
import jakarta.faces.el.PropertyResolver;
49
47
import jakarta.faces.el.ValueBinding;
50
48
51
- public class Test {
52
-
53
- public void testJakarta() {
49
+ class Test {
50
+ void testJakarta() {
54
51
MethodBinding methodBinding = null;
55
52
PropertyResolver propertyResolver = null;
56
53
ValueBinding valueBinding = null;
57
54
}
58
55
}
59
56
""" ,
60
57
"""
61
- package com.test;
62
-
63
58
import jakarta.el.ELResolver;
64
59
import jakarta.el.MethodExpression;
65
60
import jakarta.el.ValueExpression;
66
61
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;
73
67
}
74
68
}
75
69
"""
@@ -82,17 +76,14 @@ void removedExpressionLanguageTestJakarta_2() {
82
76
//language=java
83
77
java (
84
78
"""
85
- package com.test;
86
-
87
79
import jakarta.faces.el.VariableResolver;
88
80
import jakarta.faces.el.EvaluationException;
89
81
import jakarta.faces.el.MethodNotFoundException;
90
82
import jakarta.faces.el.PropertyNotFoundException;
91
83
import jakarta.faces.el.ReferenceSyntaxException;
92
84
93
- public class Test {
94
-
95
- public void testJakarta_1() {
85
+ class Test {
86
+ void testJakarta_1() {
96
87
VariableResolver variableResolver = null;
97
88
EvaluationException evaluationException = null;
98
89
MethodNotFoundException methodNotFoundException = null;
@@ -102,21 +93,18 @@ public void testJakarta_1() {
102
93
}
103
94
""" ,
104
95
"""
105
- package com.test;
106
-
107
96
import jakarta.el.ELException;
108
97
import jakarta.el.ELResolver;
109
98
import jakarta.el.MethodNotFoundException;
110
99
import jakarta.el.PropertyNotFoundException;
111
100
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;
117
105
MethodNotFoundException methodNotFoundException = null;
118
106
PropertyNotFoundException propertyNotFoundException = null;
119
- ELException eLException1 = null;
107
+ ELException referenceSyntaxException = null;
120
108
}
121
109
}
122
110
"""
@@ -129,34 +117,28 @@ void removedExpressionLanguageTestJavax_1() {
129
117
//language=java
130
118
java (
131
119
"""
132
- package com.test;
133
-
134
120
import javax.faces.el.MethodBinding;
135
121
import javax.faces.el.PropertyResolver;
136
122
import javax.faces.el.ValueBinding;
137
123
138
- public class Test {
139
-
140
- public void testJavax() {
124
+ class Test {
125
+ void testJavax() {
141
126
MethodBinding methodBinding = null;
142
127
PropertyResolver propertyResolver = null;
143
128
ValueBinding valueBinding = null;
144
129
}
145
130
}
146
131
""" ,
147
132
"""
148
- package com.test;
149
-
150
133
import jakarta.el.ELResolver;
151
134
import jakarta.el.MethodExpression;
152
135
import jakarta.el.ValueExpression;
153
136
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;
160
142
}
161
143
}
162
144
"""
@@ -169,17 +151,14 @@ void removedExpressionLanguageTestJavax_2() {
169
151
//language=java
170
152
java (
171
153
"""
172
- package com.test;
173
-
174
154
import javax.faces.el.VariableResolver;
175
155
import javax.faces.el.EvaluationException;
176
156
import javax.faces.el.MethodNotFoundException;
177
157
import javax.faces.el.PropertyNotFoundException;
178
158
import javax.faces.el.ReferenceSyntaxException;
179
159
180
- public class Test {
181
-
182
- public void testJavax_1() {
160
+ class Test {
161
+ void testJavax_1() {
183
162
VariableResolver variableResolver = null;
184
163
EvaluationException evaluationException = null;
185
164
MethodNotFoundException methodNotFoundException = null;
@@ -189,21 +168,18 @@ public void testJavax_1() {
189
168
}
190
169
""" ,
191
170
"""
192
- package com.test;
193
-
194
171
import jakarta.el.ELException;
195
172
import jakarta.el.ELResolver;
196
173
import jakarta.el.MethodNotFoundException;
197
174
import jakarta.el.PropertyNotFoundException;
198
175
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;
204
180
MethodNotFoundException methodNotFoundException = null;
205
181
PropertyNotFoundException propertyNotFoundException = null;
206
- ELException eLException1 = null;
182
+ ELException referenceSyntaxException = null;
207
183
}
208
184
}
209
185
"""
0 commit comments