Prevent new SpotBugs violations from being introduced (#6015)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-12-06 13:52:38 -08:00
1 parent 6767b4660d
commit d5cea69751
58 files changed
+902 -89

No files matched your search

+2 -2
View File
@@ -2248,7 +2248,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
return "classLoader " + getClass().getName();
}
}
@SuppressFBWarnings("MS_SHOULD_BE_FINAL")
@SuppressFBWarnings(value = "MS_SHOULD_BE_FINAL", justification = "for script console")
public static boolean FAST_LOOKUP = !SystemProperties.getBoolean(PluginManager.class.getName()+".noFastLookup");
/** @deprecated in Jenkins 2.222 use {@link Jenkins#ADMINISTER} instead */
@@ -2471,6 +2471,6 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
* Escape hatch for StaplerProxy-based access control
*/
@Restricted(NoExternalUse.class)
@SuppressFBWarnings("MS_SHOULD_BE_FINAL")
@SuppressFBWarnings(value = "MS_SHOULD_BE_FINAL", justification = "for script console")
public static /* Script Console modifiable */ boolean SKIP_PERMISSION_CHECK = SystemProperties.getBoolean(PluginManager.class.getName() + ".skipPermissionCheck");
}