From d9be0c9c59ad303771632643be0e8699f2b621ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ho=C3=9F?= Date: Sat, 11 Jun 2016 19:44:26 +0200 Subject: [PATCH] fix sonar issues 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/null_analysis/Nullsafe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/xn__ho_hia/null_analysis/Nullsafe.java b/src/main/java/de/xn__ho_hia/null_analysis/Nullsafe.java index 9e57f68..12fcc6b 100755 --- a/src/main/java/de/xn__ho_hia/null_analysis/Nullsafe.java +++ b/src/main/java/de/xn__ho_hia/null_analysis/Nullsafe.java @@ -58,7 +58,7 @@ public final class Nullsafe { return reference; } - throw new NullPointerException(message); // NOPMD - we want to throw NPE here + throw new IllegalArgumentException(message); } /** -- 2.11.4.GIT