Skip to content
Snippets Groups Projects
Commit 8f7edadf authored by George Adrian Stoica's avatar George Adrian Stoica
Browse files

chore: renames SuppressFBWarnings to follo best practice

SuppressFBWarnings renamed too SuppressFindBugsWarnings
removes also a last standing checkstyle warning
parent 4894b5cd
No related branches found
No related tags found
No related merge requests found
Pipeline #190951 passed
......@@ -8,7 +8,7 @@ import java.lang.annotation.RetentionPolicy;
* Must have this specific name to be considered by spotbugs.
*/
@Retention(RetentionPolicy.CLASS)
public @interface SuppressFBWarnings {
public @interface SuppressFindBugsWarnings {
/**
* The set of FindBugs warnings that are to be suppressed in
* annotated element. The value can be a bug category, kind or pattern.
......
package fxutil.doc;
import fxutil.SuppressFBWarnings;
import fxutil.SuppressFindBugsWarnings;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
......@@ -36,7 +36,7 @@ public class FileMenuController {
*
* @param documentStorage the document storage
*/
@SuppressFBWarnings(
@SuppressFindBugsWarnings(
value = "EI_EXPOSE_REP2",
justification = "We intentioanlly don't deep copy documentStorage")
public void setDocumentStorage(final DocumentStorage<File> documentStorage) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment