From b8b8ad9b6a446bdbe382eb8df13f7110d57b5f66 Mon Sep 17 00:00:00 2001 From: asjervanasten Date: Sat, 14 Oct 2023 10:22:06 +0200 Subject: [PATCH] fixes java doc warnings --- .../quarkus/gradle/extension/QuarkusPluginExtension.java | 3 +++ .../main/java/io/quarkus/gradle/tasks/QuarkusDev.java | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/extension/QuarkusPluginExtension.java b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/extension/QuarkusPluginExtension.java index a8d7fbcd40be5..6f7df0aad8e79 100644 --- a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/extension/QuarkusPluginExtension.java +++ b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/extension/QuarkusPluginExtension.java @@ -204,6 +204,9 @@ public void codeGenForkOptions(Action action) { /** * Returns the last file from the specified {@link FileCollection}. + * + * @param fileCollection the collection of files present in the directory + * @return result returns the last file */ public static File getLastFile(FileCollection fileCollection) { File result = null; diff --git a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusDev.java b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusDev.java index 087cfe11dd965..f8c1c3226b617 100644 --- a/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusDev.java +++ b/devtools/gradle/gradle-application-plugin/src/main/java/io/quarkus/gradle/tasks/QuarkusDev.java @@ -142,6 +142,8 @@ public QuarkusDev( /** * The dependency Configuration associated with this task. Used * for up-to-date checks + * + * @return quarkusDevConfiguration returns the configuration */ @SuppressWarnings("unused") @CompileClasspath @@ -151,6 +153,8 @@ public Configuration getQuarkusDevConfiguration() { /** * The JVM sources (Java, Kotlin, ..) for the project + * + * @return the FileCollection of all java source files present in the source directories */ @Optional @InputFiles @@ -161,6 +165,8 @@ public FileCollection getSources() { /** * The JVM classes directory (compilation output) + * + * @return the FileCollection of all java source files present in the source directories */ @Optional @InputFiles @@ -174,6 +180,8 @@ public FileCollection getCompilationOutput() { * * Defaults to the main source set's classes directory. If there are * multiple, one is picked at random (see {@link QuarkusPluginExtension#getLastFile}). + * + * @return workingDirectory */ @Input public Property getWorkingDirectory() { @@ -204,6 +212,7 @@ public Property getPreventNoVerify() { } /** + * @return boolean value of getPreventNoVerify() * @deprecated see {@link #getPreventNoVerify()} */ @SuppressWarnings("SpellCheckingInspection")