Code cleanup

This commit is contained in:
Federico Fissore 2015-06-25 09:20:11 +02:00
parent a05c672750
commit c5b1d866de
1 changed files with 1 additions and 6 deletions

View File

@ -63,12 +63,7 @@ public abstract class ContributedLibrary extends DownloadableContribution {
public abstract List<ContributedLibraryReference> getRequires();
public static final Comparator<ContributedLibrary> CASE_INSENSITIVE_ORDER = new Comparator<ContributedLibrary>() {
@Override
public int compare(ContributedLibrary o1, ContributedLibrary o2) {
return o1.getName().compareToIgnoreCase(o2.getName());
}
};
public static final Comparator<ContributedLibrary> CASE_INSENSITIVE_ORDER = (o1, o2) -> o1.getName().compareToIgnoreCase(o2.getName());
/**
* Returns <b>true</b> if the library declares to support the specified