mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Prevent new SpotBugs violations from being introduced (#6015)
This commit is contained in:
1 parent
6767b4660d
commit
d5cea69751
58 files changed
+902
-89
No files matched your search
@@ -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");
|
||||
}
|
||||
Reference in new issue
Block a user