From 07b914323891d622e3c3c485e1d92b418655771a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ho=C3=9F?= Date: Sat, 2 Jul 2016 15:30:39 +0200 Subject: [PATCH] fix documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- src/main/java/de/xn__ho_hia/quality/null_analysis/Nullsafe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/xn__ho_hia/quality/null_analysis/Nullsafe.java b/src/main/java/de/xn__ho_hia/quality/null_analysis/Nullsafe.java index 8f33a82..436c08c 100755 --- a/src/main/java/de/xn__ho_hia/quality/null_analysis/Nullsafe.java +++ b/src/main/java/de/xn__ho_hia/quality/null_analysis/Nullsafe.java @@ -34,7 +34,7 @@ public final class Nullsafe { * The type of the reference * @param reference * A possible null reference. - * @return Either the reference itself, or an {@link NullPointerException}, in case the reference was + * @return Either the reference itself, or an {@link IllegalArgumentException}, in case the reference was * null. */ public static @NonNull TYPE nonNull(@Nullable final TYPE reference) { @@ -51,7 +51,7 @@ public final class Nullsafe { * A possible null reference. * @param message * The exception message to throw. - * @return Either the reference itself, or an {@link NullPointerException}, in case the reference was + * @return Either the reference itself, or an {@link IllegalArgumentException}, in case the reference was * null. */ public static @NonNull TYPE nonNull(@Nullable final TYPE reference, final String message) { -- 2.11.4.GIT