mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Removed deprecated method Base.getLibraries()
This commit is contained in:
parent
3ed68c5d71
commit
534d62653c
@ -1877,11 +1877,6 @@ public class Base {
|
||||
getEditors().forEach(Editor::applyPreferences);
|
||||
}
|
||||
|
||||
// XXX: Remove this method and make librariesIndexer non-static
|
||||
static public LibraryList getLibraries() {
|
||||
return BaseNoGui.librariesIndexer.getInstalledLibraries();
|
||||
}
|
||||
|
||||
public List<JMenu> getBoardsCustomMenus() {
|
||||
return boardsCustomMenus;
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ public class PdeKeywords {
|
||||
File platformKeywords = new File(tp.getFolder(), "keywords.txt");
|
||||
if (platformKeywords.exists()) parseKeywordsTxt(platformKeywords);
|
||||
}
|
||||
for (ContributedLibrary lib : Base.getLibraries()) {
|
||||
for (ContributedLibrary lib : BaseNoGui.librariesIndexer.getInstalledLibraries()) {
|
||||
File keywords = new File(lib.getInstalledFolder(), "keywords.txt");
|
||||
if (keywords.exists()) {
|
||||
parseKeywordsTxt(keywords);
|
||||
|
Loading…
Reference in New Issue
Block a user