Skip to content

Commit 3ed68c5

Browse files
committed
No need to make copy of list when caling BaseNoGui.librariesIndexer.getInstalledLibraries()
1 parent 472d0b8 commit 3ed68c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Base.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ public void rebuildExamplesMenu(JMenu menu) {
11771177
// any incompatible sketchbook libs further divided into their own list.
11781178
// The 7th list of "other" libraries should always be empty, but serves
11791179
// as a safety feature to prevent any library from vanishing.
1180-
LibraryList allLibraries = new LibraryList(BaseNoGui.librariesIndexer.getInstalledLibraries());
1180+
LibraryList allLibraries = BaseNoGui.librariesIndexer.getInstalledLibraries();
11811181
LibraryList ideLibs = new LibraryList();
11821182
LibraryList retiredIdeLibs = new LibraryList();
11831183
LibraryList platformLibs = new LibraryList();

0 commit comments

Comments
 (0)