File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
arduino-core/src/cc/arduino/contributions/libraries Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,7 @@ public abstract class ContributedLibrary extends DownloadableContribution {
63
63
64
64
public abstract List <ContributedLibraryReference > getRequires ();
65
65
66
- public static final Comparator <ContributedLibrary > CASE_INSENSITIVE_ORDER = new Comparator <ContributedLibrary >() {
67
- @ Override
68
- public int compare (ContributedLibrary o1 , ContributedLibrary o2 ) {
69
- return o1 .getName ().compareToIgnoreCase (o2 .getName ());
70
- }
71
- };
66
+ public static final Comparator <ContributedLibrary > CASE_INSENSITIVE_ORDER = (o1 , o2 ) -> o1 .getName ().compareToIgnoreCase (o2 .getName ());
72
67
73
68
/**
74
69
* Returns <b>true</b> if the library declares to support the specified
You can’t perform that action at this time.
0 commit comments