Skip to content

Commit a1eede0

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of bundles/org.eclipse.e4.ui.css.swt.theme
1 parent 09b3329 commit a1eede0

File tree

1 file changed

+9
-9
lines changed
  • bundles/org.eclipse.e4.ui.css.swt.theme/src/org/eclipse/e4/ui/css/swt/internal/theme

1 file changed

+9
-9
lines changed

bundles/org.eclipse.e4.ui.css.swt.theme/src/org/eclipse/e4/ui/css/swt/internal/theme/ThemeEngine.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,21 @@
6464
import org.w3c.dom.css.CSSStyleDeclaration;
6565

6666
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<>();
6969

7070
// kept for theme notifications only
71-
private Display display;
71+
private final Display display;
7272

7373
private ITheme currentTheme;
7474

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<>();
7777

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<>();
8282

8383
private static final String THEMEID_KEY = "themeid";
8484

0 commit comments

Comments
 (0)