diff --git a/src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java b/src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java index 35ecee28..a2ddd4fd 100644 --- a/src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java +++ b/src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java @@ -101,7 +101,6 @@ import jenkins.model.ProjectNamingStrategy; import jenkins.model.TransientActionFactory; import net.sf.json.JSONObject; -import org.jenkins.ui.icon.IconSpec; import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.Beta; import org.kohsuke.accmod.restrictions.NoExternalUse; @@ -135,7 +134,7 @@ */ @SuppressWarnings({"unchecked", "rawtypes"}) // mistakes in various places @SuppressFBWarnings("DMI_RANDOM_USED_ONLY_ONCE") // https://github.com/spotbugs/spotbugs/issues/1539 -public abstract class AbstractFolder extends AbstractItem implements TopLevelItem, ItemGroup, ModifiableViewGroup, StaplerFallback, ModelObjectWithChildren, StaplerOverridable, IconSpec { +public abstract class AbstractFolder extends AbstractItem implements TopLevelItem, ItemGroup, ModifiableViewGroup, StaplerFallback, ModelObjectWithChildren, StaplerOverridable { /** * Our logger. @@ -306,11 +305,6 @@ protected AbstractFolderViewHolder newFolderViewHolder() { return new DefaultFolderViewHolder(views, null, newDefaultViewsTabBar()); } - @Override - public String getIconClassName() { - return icon.getIconClassName(); - } - protected FolderIcon newDefaultFolderIcon() { return new StockFolderIcon(); }