mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
ContributedLibraryReleases: removed getLibrary() method
this method is now useless
This commit is contained in:
parent
8c6e39735d
commit
b03a9af19a
@ -44,8 +44,8 @@ public class ContributedLibraryReleasesComparator implements Comparator<Contribu
|
||||
|
||||
@Override
|
||||
public int compare(ContributedLibraryReleases o1, ContributedLibraryReleases o2) {
|
||||
ContributedLibrary lib1 = o1.getLibrary();
|
||||
ContributedLibrary lib2 = o2.getLibrary();
|
||||
ContributedLibrary lib1 = o1.getLatest();
|
||||
ContributedLibrary lib2 = o2.getLatest();
|
||||
|
||||
if (lib1.getTypes() == null || lib2.getTypes() == null) {
|
||||
return compareName(lib1, lib2);
|
||||
|
@ -49,10 +49,6 @@ public class ContributedLibraryReleases {
|
||||
add(library);
|
||||
}
|
||||
|
||||
public ContributedLibrary getLibrary() {
|
||||
return latest;
|
||||
}
|
||||
|
||||
public List<ContributedLibrary> getReleases() {
|
||||
return releases;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user