[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
supressed FindBugs false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
velnias75 committed Aug 9, 2021
1 parent ccd1b3f commit 7232d65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/de/rangun/luegenpresse/spew/Spew.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

import com.google.common.primitives.Bytes;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

public final class Spew {

private final static Random rnd = new Random();
Expand Down Expand Up @@ -341,6 +343,7 @@ public String getHeadline() {
return sb.toString();
}

@SuppressFBWarnings(value = "UC_USELESS_CONDITION", justification = "false positive")
private void display(StringBuilder sb, final byte[] s, int deftag) {

int i;
Expand Down

0 comments on commit 7232d65

Please sign in to comment.