From 53b9cdec910e05513167d7e0bcf552357929c60d Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 21 May 2023 20:45:49 +0200 Subject: [PATCH 1/2] Fix javadoc errors on java 20 --- .../tools/incrementals/enforcer/RequireExtensionVersion.java | 4 ++-- .../java/io/jenkins/tools/incrementals/lib/UpdateChecker.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/enforcer-rules/src/main/java/io/jenkins/tools/incrementals/enforcer/RequireExtensionVersion.java b/enforcer-rules/src/main/java/io/jenkins/tools/incrementals/enforcer/RequireExtensionVersion.java index 0d0ba8d..a1303c8 100644 --- a/enforcer-rules/src/main/java/io/jenkins/tools/incrementals/enforcer/RequireExtensionVersion.java +++ b/enforcer-rules/src/main/java/io/jenkins/tools/incrementals/enforcer/RequireExtensionVersion.java @@ -60,8 +60,8 @@ public class RequireExtensionVersion extends AbstractEnforcerRule { *
  • (,2.0.5],[2.1.1,) Versions up to 2.0.5 (included) and 2.1.1 or higher
  • * * - * @see {@link #setVersion(String)} - * @see {@link #getVersion()} + * @see #setVersion(String) + * @see #getVersion() */ private String version; diff --git a/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java b/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java index 94dd49b..3509ca9 100644 --- a/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java +++ b/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java @@ -161,7 +161,6 @@ public String fullURL(String type) { /** * Look for all known versions of a given artifact. - * @param repos a set of repository URLs to check * @return a possibly empty set of versions, sorted descending */ private SortedSet loadVersions(String groupId, String artifactId) throws Exception { From 8f7625fbe63d3c00ff1b0d31e7af6e0e1bafcf02 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 21 May 2023 20:54:06 +0200 Subject: [PATCH 2/2] Run DetectIndentTest --- .../io/jenkins/tools/incrementals/maven/DetectIndentTest.java | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename maven-plugin/{test/main => src/test}/java/io/jenkins/tools/incrementals/maven/DetectIndentTest.java (100%) diff --git a/maven-plugin/test/main/java/io/jenkins/tools/incrementals/maven/DetectIndentTest.java b/maven-plugin/src/test/java/io/jenkins/tools/incrementals/maven/DetectIndentTest.java similarity index 100% rename from maven-plugin/test/main/java/io/jenkins/tools/incrementals/maven/DetectIndentTest.java rename to maven-plugin/src/test/java/io/jenkins/tools/incrementals/maven/DetectIndentTest.java