1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

No need to make copy of list when caling BaseNoGui.librariesIndexer.getInstalledLibraries()

This commit is contained in:
Cristian Maglie 2017-12-18 21:39:08 +01:00
parent 472d0b8ef6
commit 3ed68c5d71

View File

@ -1177,7 +1177,7 @@ public class Base {
// any incompatible sketchbook libs further divided into their own list.
// The 7th list of "other" libraries should always be empty, but serves
// as a safety feature to prevent any library from vanishing.
LibraryList allLibraries = new LibraryList(BaseNoGui.librariesIndexer.getInstalledLibraries());
LibraryList allLibraries = BaseNoGui.librariesIndexer.getInstalledLibraries();
LibraryList ideLibs = new LibraryList();
LibraryList retiredIdeLibs = new LibraryList();
LibraryList platformLibs = new LibraryList();