From 57f75fda558db5381b4aea84ca4d86658b157656 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Fri, 14 Oct 2022 08:29:59 +0200 Subject: [PATCH] Update org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java Co-authored-by: Hannes Wellmann --- .../m2e/jdt/internal/AbstractJavaProjectConfigurator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java index 728c069242..58115199aa 100644 --- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java +++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java @@ -859,7 +859,7 @@ private String getMinimumJavaBuildEnvironmentId(ProjectConfigurationRequest requ private String getMinimumJavaBuildEnvironmentId(MavenProject mavenProject, MojoExecution mojoExecution, IProgressMonitor monitor) throws InvalidVersionSpecificationException, CoreException { String version = maven.getMojoParameterValue(mavenProject, mojoExecution, - Arrays.asList("rules", "requireJavaVersion", "version"), String.class, monitor); + List.of("rules", "requireJavaVersion", "version"), String.class, monitor); return getMinimumJavaBuildEnvironmentId(version); }