Skip to content

Commit

Permalink
space: document method argument as Nullable
Browse files Browse the repository at this point in the history
Motivation:

SpotBugs warns that a nonnull argument may be called with null.

Modification:

Update documentation that null is valid for this method argument.

Result:

Clear one SpotBugs NORMAL level warning.

Target: master
Requires-notes: no
Requires-book: no
Patch: https://rb.dcache.org/r/12593/
Acked-by: Tigran Mkrtchyan
  • Loading branch information
paulmillar committed Sep 29, 2020
1 parent 2290595 commit afac62f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ long updateLinkGroup(String linkGroupName,
boolean replicaAllowed,
boolean outputAllowed,
boolean custodialAllowed,
VOInfo[] linkGroupVOs) throws DataAccessException;
@Nullable VOInfo[] linkGroupVOs) throws DataAccessException;

LinkGroup getLinkGroup(long id) throws DataAccessException;

Expand Down

0 comments on commit afac62f

Please sign in to comment.