Skip to content

Commit 01cc700

Browse files
committed
Reword the SuppressFBWarnings annotation
1 parent 54f2ebf commit 01cc700

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/annotations/java/org/truffleruby/SuppressFBWarnings.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
import java.lang.annotation.Retention;
1313
import java.lang.annotation.RetentionPolicy;
1414

15-
/** Used to suppress <a href="http://findbugs.sourceforge.net">FindBugs</a> warnings. */
15+
/** Used to suppress <a href="http://findbugs.sourceforge.net">SpotBugs</a> warnings. */
1616
@Retention(RetentionPolicy.CLASS)
1717
public @interface SuppressFBWarnings {
18-
/** The set of FindBugs <a href="http://findbugs.sourceforge.net/bugDescriptions.html">warnings</a> that are to be
19-
* suppressed in annotated element. The value can be a bug category, kind or pattern. */
18+
/** The set of SpotBugs <a href="https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html">warnings</a> that
19+
* are suppressed for the annotated element. The value can be a bug category, kind or pattern. */
2020
String[] value();
2121
}

src/main/java/org/truffleruby/core/exception/GetBacktraceException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
import com.oracle.truffle.api.TruffleException;
1313
import com.oracle.truffle.api.nodes.Node;
14+
import org.truffleruby.SuppressFBWarnings;
1415

16+
@SuppressFBWarnings("Se")
1517
public class GetBacktraceException extends RuntimeException implements TruffleException {
1618

1719
private static final long serialVersionUID = 2633487517169337464L;

0 commit comments

Comments
 (0)