From 5edb6ce5e10d40572a6a760902a415264c9a485e Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 Jun 2017 23:39:36 +0200 Subject: Javadoc now builds without warnings. All links to external javadoc replaced with straight up links to avoid the target from trying to download a bunch of index pages. --- src/core/lombok/Lombok.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/core/lombok/Lombok.java') diff --git a/src/core/lombok/Lombok.java b/src/core/lombok/Lombok.java index 6909f4fc..310b57e3 100644 --- a/src/core/lombok/Lombok.java +++ b/src/core/lombok/Lombok.java @@ -30,7 +30,6 @@ public class Lombok { * The exception is still thrown - javac will just stop whining about it. *

* Example usage: - *

*

public void run() {
 	 *     throw sneakyThrow(new IOException("You don't need to catch me!"));
 	 * }
@@ -59,14 +58,13 @@ public class Lombok { } /** - * Returns the parameter directly.
+ * Returns the parameter directly. * - * This method can be used to prevent a static analyzer to determine - * the nullness of the passed parameter. + * This method can be used to prevent a static analyzer to determine the nullness of the passed parameter. * - * @param the type of the parameter - * @param value the value to return - * @return value + * @param the type of the parameter. + * @param value the value to return. + * @return value (this method just returns the parameter). */ public static T preventNullAnalysis(T value) { return value; @@ -74,10 +72,12 @@ public class Lombok { /** * Ensures that the {@code value} is not {@code null}. - * @param value the value to test for null - * @param message the message of the {@link NullPointerException} - * @return the value if it is not null - * @throws NullPointerException with the {@code message} if the value is null + * + * @param Type of the parameter. + * @param value the value to test for null. + * @param message the message of the {@link NullPointerException}. + * @return the value if it is not null. + * @throws NullPointerException with the {@code message} if the value is null. */ public static T checkNotNull(T value, String message) { if (value == null) throw new NullPointerException(message); -- cgit