diff --git a/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellEditor.java b/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellEditor.java index 7f46ba7e9..c5c2e4175 100644 --- a/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellEditor.java +++ b/app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellEditor.java @@ -98,27 +98,27 @@ public class ContributedLibraryTableCellEditor extends InstallerTableCell { editorCell.downgradeChooser.addItem(tr("Select version")); final List notInstalledPrevious = new LinkedList<>(); - final List notIInstalledNewer = new LinkedList<>(); + final List notInstalledNewer = new LinkedList<>(); notInstalled.stream().forEach(input -> { if (!mayInstalled.isPresent() || VersionComparator.greaterThan(mayInstalled.get(), input)) { notInstalledPrevious.add(input); } else { - notIInstalledNewer.add(input); + notInstalledNewer.add(input); } }); - notIInstalledNewer.forEach(editorCell.downgradeChooser::addItem); + notInstalledNewer.forEach(editorCell.downgradeChooser::addItem); notInstalledPrevious.forEach(editorCell.downgradeChooser::addItem); editorCell.downgradeChooser .setVisible(mayInstalled.isPresent() && (!notInstalledPrevious.isEmpty() - || notIInstalledNewer.size() > 1)); + || notInstalledNewer.size() > 1)); editorCell.downgradeButton .setVisible(mayInstalled.isPresent() && (!notInstalledPrevious.isEmpty() - || notIInstalledNewer.size() > 1)); + || notInstalledNewer.size() > 1)); editorCell.versionToInstallChooser.removeAllItems(); notInstalled.forEach(editorCell.versionToInstallChooser::addItem);