Skip to content

Commit 8bb20e0

Browse files
committed
Made UserLibrary.toString() more concise
1 parent bc19d7b commit 8bb20e0

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

arduino-core/src/processing/app/packages/UserLibrary.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -283,17 +283,7 @@ public boolean useRecursion() {
283283

284284
@Override
285285
public String toString() {
286-
String res = "Library: " + name + "\n";
287-
res += " (version=" + version + ")\n";
288-
res += " (author=" + author + ")\n";
289-
res += " (maintainer=" + maintainer + ")\n";
290-
res += " (sentence=" + sentence + ")\n";
291-
res += " (paragraph=" + paragraph + ")\n";
292-
res += " (url=" + website + ")\n";
293-
res += " (architectures=" + architectures + ")\n";
294-
if (includes != null)
295-
res += " (includes=" + includes + ")\n";
296-
return res;
286+
return name + ":" + version + " " + architectures + " " + installedFolder.getAbsolutePath();
297287
}
298288

299289
}

0 commit comments

Comments
 (0)