From 1fc2e0ca9722fab0f8a354399d379ade9ff6c573 Mon Sep 17 00:00:00 2001 From: Alberto Zugazagoitia Date: Sat, 6 Aug 2022 17:51:44 +0200 Subject: [PATCH] Fix Javadoc build fail --- build.gradle | 6 ++++++ src/main/java/io/javalin/ssl/plugin/util/SSLUtils.java | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c54e71b..1c17492 100644 --- a/build.gradle +++ b/build.gradle @@ -95,6 +95,12 @@ publishing { } } +tasks.withType(Javadoc) { + failOnError false + options.addStringOption('Xdoclint:none', '-quiet') + options.addStringOption('encoding', 'UTF-8') + options.addStringOption('charSet', 'UTF-8') +} java { sourceCompatibility = JavaVersion.VERSION_11 diff --git a/src/main/java/io/javalin/ssl/plugin/util/SSLUtils.java b/src/main/java/io/javalin/ssl/plugin/util/SSLUtils.java index 4605722..e2a971e 100644 --- a/src/main/java/io/javalin/ssl/plugin/util/SSLUtils.java +++ b/src/main/java/io/javalin/ssl/plugin/util/SSLUtils.java @@ -15,7 +15,6 @@ public class SSLUtils { /** * Helper method to create a {@link SslContextFactory} from the given config. * - * @param keyManager The key manager to use. * @param config The config to use. * @return The created {@link SslContextFactory}. */