Update to java 17
This commit is contained in:
parent
e692b9a846
commit
bc47ea1d81
2
pom.xml
2
pom.xml
@ -73,7 +73,7 @@
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<release>16</release>
|
||||
<release>17</release>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@ -392,7 +392,7 @@ public class SourcesGenerator {
|
||||
.addStatement("int intermediateVersion = oldVersion")
|
||||
.addStatement("$T intermediateData = oldData", Object.class)
|
||||
.beginControlFlow("while (true)")
|
||||
.beginControlFlow("switch (oldVersion)");
|
||||
.beginControlFlow("switch (intermediateVersion)");
|
||||
for (Entry<String, VersionConfiguration> entry : configuration.versions.entrySet()) {
|
||||
String version = entry.getKey();
|
||||
VersionConfiguration versionConfiguration = entry.getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user