From 9367be02a09f4db325ec743e43ebb7ca0892e33e Mon Sep 17 00:00:00 2001 From: Tim Jacomb Date: Wed, 6 Nov 2024 18:43:39 +0000 Subject: [PATCH] Disable YUI by default --- .../experimentalflags/RemoveYuiUserExperimentalFlag.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java b/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java index e8f8dcc31775..5f8620862fce 100644 --- a/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java +++ b/core/src/main/java/jenkins/model/experimentalflags/RemoveYuiUserExperimentalFlag.java @@ -24,6 +24,7 @@ package jenkins.model.experimentalflags; +import edu.umd.cs.findbugs.annotations.NonNull; import edu.umd.cs.findbugs.annotations.Nullable; import hudson.Extension; import org.kohsuke.accmod.Restricted; @@ -46,4 +47,10 @@ public String getDisplayName() { public String getShortDescription() { return "Remove YUI from all Jenkins UI pages. This will break anything that depends on YUI"; } + + @NonNull + @Override + public Boolean getDefaultValue() { + return true; + } }