|
64 | 64 | import org.w3c.dom.css.CSSStyleDeclaration; |
65 | 65 |
|
66 | 66 | public class ThemeEngine implements IThemeEngine { |
67 | | - private List<Theme> themes = new ArrayList<>(); |
68 | | - private List<CSSEngine> cssEngines = new ArrayList<>(); |
| 67 | + private final List<Theme> themes = new ArrayList<>(); |
| 68 | + private final List<CSSEngine> cssEngines = new ArrayList<>(); |
69 | 69 |
|
70 | 70 | // kept for theme notifications only |
71 | | - private Display display; |
| 71 | + private final Display display; |
72 | 72 |
|
73 | 73 | private ITheme currentTheme; |
74 | 74 |
|
75 | | - private List<String> globalStyles = new ArrayList<>(); |
76 | | - private List<IResourceLocator> globalSourceLocators = new ArrayList<>(); |
| 75 | + private final List<String> globalStyles = new ArrayList<>(); |
| 76 | + private final List<IResourceLocator> globalSourceLocators = new ArrayList<>(); |
77 | 77 |
|
78 | | - private HashMap<String, List<String>> stylesheets = new HashMap<>(); |
79 | | - private HashMap<String, List<String>> stylesheetPluginExtensions = new HashMap<>(); |
80 | | - private HashMap<String, List<String>> modifiedStylesheets = new HashMap<>(); |
81 | | - private HashMap<String, List<IResourceLocator>> sourceLocators = new HashMap<>(); |
| 78 | + private final HashMap<String, List<String>> stylesheets = new HashMap<>(); |
| 79 | + private final HashMap<String, List<String>> stylesheetPluginExtensions = new HashMap<>(); |
| 80 | + private final HashMap<String, List<String>> modifiedStylesheets = new HashMap<>(); |
| 81 | + private final HashMap<String, List<IResourceLocator>> sourceLocators = new HashMap<>(); |
82 | 82 |
|
83 | 83 | private static final String THEMEID_KEY = "themeid"; |
84 | 84 |
|
|
0 commit comments