File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
modello-test/src/main/java/org/codehaus/modello Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,14 @@ else if ( runtimeSource <= 11 )
163
163
{
164
164
javaSource = "6" ;
165
165
}
166
- else
166
+ else if ( runtimeSource <= 17 )
167
167
{
168
168
javaSource = "7" ;
169
169
}
170
+ else
171
+ {
172
+ javaSource = "8" ;
173
+ }
170
174
171
175
compileGeneratedSources ( verifierId , javaSource );
172
176
}
@@ -190,9 +194,13 @@ else if ( runtimeSource <= 11 )
190
194
{
191
195
javaSource = Integer .toString ( Math .max ( minJavaSource , 6 ) );
192
196
}
193
- else
197
+ else if ( runtimeSource <= 17 )
198
+ {
199
+ javaSource = Integer .toString ( Math .max ( minJavaSource , 7 ) );
200
+ }
201
+ else
194
202
{
195
- javaSource = Integer .toString ( Math .max ( minJavaSource , 7 ) );;
203
+ javaSource = Integer .toString ( Math .max ( minJavaSource , 8 ) );;
196
204
}
197
205
198
206
compileGeneratedSources ( verifierId , javaSource );
You can’t perform that action at this time.
0 commit comments