From 76057b3e1d9b6d01d5b43982f89bdc466089b1b7 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Wed, 3 Jan 2024 17:12:35 +0100 Subject: [PATCH] Updated spotbugs patch --- removeMultilineSpotbugs.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/removeMultilineSpotbugs.patch b/removeMultilineSpotbugs.patch index e612855..f8ddbb9 100644 --- a/removeMultilineSpotbugs.patch +++ b/removeMultilineSpotbugs.patch @@ -49,4 +49,17 @@ /** * Warning, possibly unused, rotten code. */ +--- a/runtime-decompiler/src/main/java/org/jrd/frontend/frame/main/decompilerview/TextWithControls.java ++++ a/runtime-decompiler/src/main/java/org/jrd/frontend/frame/main/decompilerview/TextWithControls.java +@@ -103,10 +103,6 @@ + //currently standalone dialog supports only additions + //and additions do not support classlaoder selection (obviously) + //the classlaoder now remain thus unused +- @SuppressFBWarnings( +- value = "SS_SHOULD_BE_STATIC", +- justification = "is really per instance, however will ahve sense, only if standalone dialog will support overwrite, which is unlikely" +- ) + private final boolean overvriteEnabled = false; + //field to hots the target classlaoder if it willbe ever supported + //it is now null, what is waht the only ussage in compiler.compile(toCompile, pluginManager, classloader); needs