Skip to content

Commit

Permalink
refactor: Annotate methods which may return null with @Nullable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdebruin and TeamModerne authored Oct 28, 2024
1 parent 428ebbe commit 7ae98ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void setCheckstyleConfigFile(File configFile) {
* Will prefer to return an explicitly configured checkstyle configuration file location.
* If none has been specified, will attempt to auto-detect an appropriate file.
*/
public @Nullable File getCheckstyleConfigFile() {
public @org.jspecify.annotations.Nullable @Nullable File getCheckstyleConfigFile() {
if (checkstyleConfigFile == null && checkstyleConfigProvider != null) {
try {
return checkstyleConfigProvider.get();
Expand Down

0 comments on commit 7ae98ee

Please sign in to comment.