mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 10:15:19 +00:00
Added @NonNull on parameters feature (issue 514),
including docs and changelog.
This commit is contained in:
1 parent
7bbb7cf3ca
commit
5a3e9bd804
40 files changed
+674
-57
No files matched your search
@@ -63,7 +63,9 @@
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setNonNull(final @lombok.NonNull String nonNull) {
|
||||
if ((nonNull == null))
|
||||
throw new java.lang.NullPointerException("nonNull");
|
||||
{
|
||||
throw new java.lang.NullPointerException("nonNull");
|
||||
}
|
||||
this.nonNull = nonNull;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user