From c20d83615e37b9b8c30ee90fe90778c8dd8de9b1 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 1 Jun 2019 18:10:14 -0600 Subject: [PATCH] Fix JDK 11.0.3 javadoc warnings Fix the build when using JDK 11.0.3. --- src/main/java/jenkins/branch/BranchBuildStrategy.java | 2 ++ src/main/java/jenkins/branch/MultiBranchProject.java | 1 + .../jenkins/branch/OrganizationChildOrphanedItemsProperty.java | 1 + src/main/java/jenkins/branch/OrganizationFolder.java | 1 + 4 files changed, 5 insertions(+) diff --git a/src/main/java/jenkins/branch/BranchBuildStrategy.java b/src/main/java/jenkins/branch/BranchBuildStrategy.java index 5cf0aeae..f32ddd5d 100644 --- a/src/main/java/jenkins/branch/BranchBuildStrategy.java +++ b/src/main/java/jenkins/branch/BranchBuildStrategy.java @@ -205,6 +205,7 @@ public final boolean automaticBuild(@NonNull SCMSource source, * {@link SCMRevision#isDeterministic()} previous revisions as polling for changes will have * confirmed that there is a change between this and {@code currRevision} even if the two * are equal. + * @param listener the TaskListener to be used * @return {@code true} if and only if the {@link SCMRevision} should be automatically built when the * {@link SCMHead} has been detected as created / modified. * @since 2.1.3 @@ -231,6 +232,7 @@ public final boolean automaticBuild(@NonNull SCMSource source, * confirmed that there is a change between this and {@code currRevision} even if the two * are equal. * @param lastSeenRevision the {@link SCMRevision} that the head was last seen + * @param listener the TaskListener to be used * @return {@code true} if and only if the {@link SCMRevision} should be automatically built when the * {@link SCMHead} has been detected as created / modified. * @since 2.4.2 diff --git a/src/main/java/jenkins/branch/MultiBranchProject.java b/src/main/java/jenkins/branch/MultiBranchProject.java index efa7f174..70f006a2 100644 --- a/src/main/java/jenkins/branch/MultiBranchProject.java +++ b/src/main/java/jenkins/branch/MultiBranchProject.java @@ -304,6 +304,7 @@ public String getIconClassName() { /** * Get the term used in the UI to represent the souce for this kind of * {@link Item}. Must start with a capital letter. + * @return term used in the UI to represent the source */ public String getSourcePronoun() { Set result = new TreeSet<>(); diff --git a/src/main/java/jenkins/branch/OrganizationChildOrphanedItemsProperty.java b/src/main/java/jenkins/branch/OrganizationChildOrphanedItemsProperty.java index 7d61fd31..30a1cb72 100644 --- a/src/main/java/jenkins/branch/OrganizationChildOrphanedItemsProperty.java +++ b/src/main/java/jenkins/branch/OrganizationChildOrphanedItemsProperty.java @@ -59,6 +59,7 @@ public class OrganizationChildOrphanedItemsProperty extends OrganizationFolderPr /** * Our constructor. + * @param strategy the OrphanedItemStrategy to be applied to this property */ @DataBoundConstructor public OrganizationChildOrphanedItemsProperty(OrphanedItemStrategy strategy) { diff --git a/src/main/java/jenkins/branch/OrganizationFolder.java b/src/main/java/jenkins/branch/OrganizationFolder.java index bdfd5661..126956b8 100644 --- a/src/main/java/jenkins/branch/OrganizationFolder.java +++ b/src/main/java/jenkins/branch/OrganizationFolder.java @@ -543,6 +543,7 @@ public String getIconClassName() { /** * Get the term used in the UI to represent the souce for this kind of * {@link Item}. Must start with a capital letter. + * @return term used in the UI to represent the souce */ public String getSourcePronoun() { Set result = new TreeSet<>();