Skip to content

Commit 534d626

Browse files
committed
Removed deprecated method Base.getLibraries()
1 parent 3ed68c5 commit 534d626

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

app/src/processing/app/Base.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,11 +1877,6 @@ public void handleFontSizeChange(int change) {
18771877
getEditors().forEach(Editor::applyPreferences);
18781878
}
18791879

1880-
// XXX: Remove this method and make librariesIndexer non-static
1881-
static public LibraryList getLibraries() {
1882-
return BaseNoGui.librariesIndexer.getInstalledLibraries();
1883-
}
1884-
18851880
public List<JMenu> getBoardsCustomMenus() {
18861881
return boardsCustomMenus;
18871882
}

app/src/processing/app/syntax/PdeKeywords.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void reload() {
8989
File platformKeywords = new File(tp.getFolder(), "keywords.txt");
9090
if (platformKeywords.exists()) parseKeywordsTxt(platformKeywords);
9191
}
92-
for (ContributedLibrary lib : Base.getLibraries()) {
92+
for (ContributedLibrary lib : BaseNoGui.librariesIndexer.getInstalledLibraries()) {
9393
File keywords = new File(lib.getInstalledFolder(), "keywords.txt");
9494
if (keywords.exists()) {
9595
parseKeywordsTxt(keywords);

0 commit comments

Comments
 (0)