Skip to content

Commit f5f8b7f

Browse files
committed
Renamed wrong named variable
1 parent 1b0f00e commit f5f8b7f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/cc/arduino/contributions/libraries/ui/ContributedLibraryTableCellEditor.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -98,27 +98,27 @@ public Component getTableCellEditorComponent(JTable table, Object value,
9898
editorCell.downgradeChooser.addItem(tr("Select version"));
9999

100100
final List<ContributedLibrary> notInstalledPrevious = new LinkedList<>();
101-
final List<ContributedLibrary> notIInstalledNewer = new LinkedList<>();
101+
final List<ContributedLibrary> notInstalledNewer = new LinkedList<>();
102102

103103
notInstalled.stream().forEach(input -> {
104104
if (!mayInstalled.isPresent()
105105
|| VersionComparator.greaterThan(mayInstalled.get(), input)) {
106106
notInstalledPrevious.add(input);
107107
} else {
108-
notIInstalledNewer.add(input);
108+
notInstalledNewer.add(input);
109109
}
110110
});
111-
notIInstalledNewer.forEach(editorCell.downgradeChooser::addItem);
111+
notInstalledNewer.forEach(editorCell.downgradeChooser::addItem);
112112
notInstalledPrevious.forEach(editorCell.downgradeChooser::addItem);
113113

114114
editorCell.downgradeChooser
115115
.setVisible(mayInstalled.isPresent()
116116
&& (!notInstalledPrevious.isEmpty()
117-
|| notIInstalledNewer.size() > 1));
117+
|| notInstalledNewer.size() > 1));
118118
editorCell.downgradeButton
119119
.setVisible(mayInstalled.isPresent()
120120
&& (!notInstalledPrevious.isEmpty()
121-
|| notIInstalledNewer.size() > 1));
121+
|| notInstalledNewer.size() > 1));
122122

123123
editorCell.versionToInstallChooser.removeAllItems();
124124
notInstalled.forEach(editorCell.versionToInstallChooser::addItem);

0 commit comments

Comments
 (0)