mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Inverted MVC logic on installer to get a cleaner code.
Part of the control logic was moved from listeners to GUI class methods. This goes against a pure MVC but makes the code much more cleaner.
This commit is contained in:
committed by
Federico Fissore
parent
cf058c37ba
commit
5d1e4e3f70
@ -586,6 +586,9 @@ public class BaseNoGui {
|
||||
|
||||
static public void initPackages() throws Exception {
|
||||
indexer = new ContributionsIndexer(BaseNoGui.getSettingsFolder());
|
||||
if (!indexer.getIndexFile().isFile())
|
||||
// TODO: run first setup
|
||||
;
|
||||
indexer.parseIndex();
|
||||
indexer.syncWithFilesystem();
|
||||
System.out.println(indexer);
|
||||
|
Reference in New Issue
Block a user