mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-02 13:24:12 +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);
|
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() {
|
public List<JMenu> getBoardsCustomMenus() {
|
||||||
return boardsCustomMenus;
|
return boardsCustomMenus;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ public class PdeKeywords {
|
|||||||
File platformKeywords = new File(tp.getFolder(), "keywords.txt");
|
File platformKeywords = new File(tp.getFolder(), "keywords.txt");
|
||||||
if (platformKeywords.exists()) parseKeywordsTxt(platformKeywords);
|
if (platformKeywords.exists()) parseKeywordsTxt(platformKeywords);
|
||||||
}
|
}
|
||||||
for (ContributedLibrary lib : Base.getLibraries()) {
|
for (ContributedLibrary lib : BaseNoGui.librariesIndexer.getInstalledLibraries()) {
|
||||||
File keywords = new File(lib.getInstalledFolder(), "keywords.txt");
|
File keywords = new File(lib.getInstalledFolder(), "keywords.txt");
|
||||||
if (keywords.exists()) {
|
if (keywords.exists()) {
|
||||||
parseKeywordsTxt(keywords);
|
parseKeywordsTxt(keywords);
|
||||||
|
Loading…
Reference in New Issue
Block a user