diff --git a/src/main/java/io/jenkins/plugins/prism/PrismTheme.java b/src/main/java/io/jenkins/plugins/prism/PrismTheme.java index 68d6a09..e1d2693 100644 --- a/src/main/java/io/jenkins/plugins/prism/PrismTheme.java +++ b/src/main/java/io/jenkins/plugins/prism/PrismTheme.java @@ -2,7 +2,6 @@ import hudson.util.ListBoxModel; import io.jenkins.plugins.thememanager.Theme; -import io.jenkins.plugins.thememanager.ThemeManagerPageDecorator; /** * Defines the active theme to be used when rendering the source code with Prism. @@ -53,17 +52,6 @@ public String getFileName(Theme theme) { return "prism-" + themeId + ".css"; } - /** - * Use {@link #getFileName(Theme)} instead. - * You probably shouldn't be calling this directly though and should be calling - * {@link PrismConfiguration#getThemeCssFileName()}. - */ - @Deprecated - public String getFileName() { - Theme theme = ThemeManagerPageDecorator.get().findTheme(); - return getFileName(theme); - } - /** * Returns all available themes in a {@link ListBoxModel}. *