commit | 9321303265fcab2ff7f764a444f8c23915747638 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Mon Apr 24 10:28:15 2023 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Mon Apr 24 10:47:08 2023 +0200 |
tree | 360e3324b93f2c4d91c6aec48cfd10d1ec9a4862 | |
parent | 158435d2aa9f8729e4e78835969e54701af9203b [diff] |
Fix ReturnMissingNullable bug pattern flagged by error prone For more details see: [1]. [1] https://errorprone.info/bugpattern/ReturnMissingNullable Change-Id: Ice845315af628157b805792a90e38728a8c0d747
diff --git a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/RefUpdateListener.java b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/RefUpdateListener.java index acc2ead..1f8826f 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/RefUpdateListener.java +++ b/src/main/java/com/googlesource/gerrit/plugins/reviewnotes/RefUpdateListener.java
@@ -15,6 +15,7 @@ package com.googlesource.gerrit.plugins.reviewnotes; import com.google.common.flogger.FluentLogger; +import com.google.gerrit.common.Nullable; import com.google.gerrit.entities.Project; import com.google.gerrit.entities.RefNames; import com.google.gerrit.extensions.events.GitReferenceUpdatedListener; @@ -69,6 +70,7 @@ } @Override + @Nullable public String getRemoteName() { return null; }