From 3ed68c5d710316af359e0fb2638a21c93678e46f Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 18 Dec 2017 21:39:08 +0100 Subject: [PATCH] No need to make copy of list when caling BaseNoGui.librariesIndexer.getInstalledLibraries() --- app/src/processing/app/Base.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 0e601965e..a66daaa5d 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -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();