diff --git a/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.xtend b/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.xtend index 384b4cc2173..b3c36952ed4 100644 --- a/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.xtend +++ b/org.eclipse.xtext.xtext.wizard/src/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.xtend @@ -10,7 +10,6 @@ package org.eclipse.xtext.xtext.wizard import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor import org.eclipse.xtext.util.JUnitVersion -import org.eclipse.xtext.util.JavaVersion @FinalFieldsConstructor class TargetPlatformProject extends ProjectDescriptor { @@ -61,11 +60,7 @@ class TargetPlatformProject extends ProjectDescriptor { - «IF config.javaVersion.isAtLeast(JavaVersion.JAVA17)» - - «ELSE» - - «ENDIF» + diff --git a/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.java b/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.java index c95fa286222..6b3b61ade7e 100644 --- a/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.java +++ b/org.eclipse.xtext.xtext.wizard/xtend-gen/org/eclipse/xtext/xtext/wizard/TargetPlatformProject.java @@ -16,7 +16,6 @@ import org.eclipse.xtend.lib.annotations.FinalFieldsConstructor; import org.eclipse.xtend2.lib.StringConcatenation; import org.eclipse.xtext.util.JUnitVersion; -import org.eclipse.xtext.util.JavaVersion; import org.eclipse.xtext.util.XtextVersion; import org.eclipse.xtext.xbase.lib.CollectionLiterals; import org.eclipse.xtext.xbase.lib.ObjectExtensions; @@ -108,18 +107,9 @@ public CharSequence target() { _builder.append("\t\t\t"); _builder.append(""); _builder.newLine(); - { - boolean _isAtLeast = this.getConfig().getJavaVersion().isAtLeast(JavaVersion.JAVA17); - if (_isAtLeast) { - _builder.append("\t\t\t"); - _builder.append(""); - _builder.newLine(); - } else { - _builder.append("\t\t\t"); - _builder.append(""); - _builder.newLine(); - } - } + _builder.append("\t\t\t"); + _builder.append(""); + _builder.newLine(); _builder.append("\t\t"); _builder.append(""); _builder.newLine();