Skip to content

Commit

Permalink
Remove unneeded method
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed Sep 23, 2022
1 parent b259d2f commit 5a167d2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/java/io/jenkins/plugins/prism/PrismTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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}.
*
Expand Down

0 comments on commit 5a167d2

Please sign in to comment.