Made prefs a local variable
This commit is contained in:
parent
dfb0ce869a
commit
b6a81c29b9
|
@ -48,7 +48,6 @@ public class SettingsTab2 extends Tab implements TabSelectionListener {
|
|||
|
||||
private List<Site> sites;
|
||||
private Recorder recorder;
|
||||
private Preferences prefs;
|
||||
private boolean initialized = false;
|
||||
private Config config;
|
||||
private Settings settings;
|
||||
|
@ -152,7 +151,7 @@ public class SettingsTab2 extends Tab implements TabSelectionListener {
|
|||
siteCategories.add(Category.of(site.getName(), SiteUiFactory.getUi(site).getConfigUI().createConfigPanel()));
|
||||
}
|
||||
|
||||
prefs = Preferences.of(new CtbrecPreferencesStorage(config),
|
||||
Preferences prefs = Preferences.of(new CtbrecPreferencesStorage(config),
|
||||
Category.of("General",
|
||||
Group.of("General",
|
||||
Setting.of("User-Agent", httpUserAgent),
|
||||
|
|
Loading…
Reference in New Issue