Suppress NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD SpotBugs violation (#6131)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-12-30 08:01:02 -08:00
1 parent 85df6000a7
commit 4d227779c6
2 files changed
+6 -5

No files matched your search

@@ -161,7 +161,12 @@ public class LegacyApiTokenAdministrativeMonitor extends AdministrativeMonitor {
}
@RequirePOST
@SuppressFBWarnings(value = "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", justification = "written to by Stapler")
@SuppressFBWarnings(
value = {
"NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD",
"UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD"
},
justification = "written to by Stapler")
public HttpResponse doRevokeAllSelected(@JsonBody RevokeAllSelectedModel content) throws IOException {
for (RevokeAllSelectedUserAndUuid value : content.values) {
if (value.userId == null) {