1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-30 19:52:13 +01:00

Fix build by restoring onIndexesUpdated override

This commit is contained in:
Martino Facchin 2018-07-19 10:08:32 +02:00
parent 0ee0fcc018
commit f2b9328d30

View File

@ -200,7 +200,7 @@ public class LibraryManagerUI extends InstallerJDialog<ContributedLibraryRelease
try {
setProgressVisible(true, "");
installer.updateIndex(this::setProgress);
//onIndexesUpdated();
onIndexesUpdated();
} catch (Exception e) {
throw new RuntimeException(e);
} finally {
@ -223,6 +223,7 @@ public class LibraryManagerUI extends InstallerJDialog<ContributedLibraryRelease
contribTable.getCellEditor().stopCellEditing();
}
((LibrariesIndexTableModel) contribModel).update();
onIndexesUpdated();
} catch (Exception e) {
throw new RuntimeException(e);
} finally {
@ -254,6 +255,7 @@ public class LibraryManagerUI extends InstallerJDialog<ContributedLibraryRelease
contribTable.getCellEditor().stopCellEditing();
}
((LibrariesIndexTableModel) contribModel).update();
onIndexesUpdated();
} catch (Exception e) {
throw new RuntimeException(e);
} finally {
@ -264,4 +266,8 @@ public class LibraryManagerUI extends InstallerJDialog<ContributedLibraryRelease
installerThread.setUncaughtExceptionHandler(new InstallerJDialogUncaughtExceptionHandler(this, noConnectionErrorMessage));
installerThread.start();
}
}
protected void onIndexesUpdated() throws Exception {
// Empty
}
}