1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-26 20:54:22 +01:00

Regression: fixed wrong BUILTIN_AS_LAST comparator

This bug has been introduced with b3d01d82810b5ac895623bdaebb647bf82bee1e4

Fix #7973
This commit is contained in:
Cristian Maglie 2018-09-07 12:28:38 +02:00 committed by Cristian Maglie
parent 0951efb711
commit 27eca6b3d9
2 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public abstract class ContributedPlatform extends DownloadableContribution {
public static final Comparator<ContributedPlatform> BUILTIN_AS_LAST = (x, y) -> {
int px = x.isBuiltIn() ? 1 : -1;
int py = y.isBuiltIn() ? 1 : -1;
return py - px;
return px - py;
};
private Map<ContributedToolReference, ContributedTool> resolvedToolReferences;

View File

@ -7,6 +7,7 @@ ARDUINO 1.8.7 2018.09.11
* Fixed: IDE doesn't start if a library with invalid version is found.
* Fixed: Better dialog explaining that MacOSX 10.8 is now required. Thanks @PaulStoffregen
* Fixed: Slow "File" and "Tools" menus in MacOSX
* Fixed: Weird Board Manager behaviour if AVR core is downgraded to a version earlier than 1.6.22
* Improved first-use usability if the user don't select the serial port. Thanks @PaulStoffregen
* Custom "Tools" menu now keeps the order as defined in boards.txt.