1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-15 12:29:26 +01:00

Made UserLibrary.toString() more concise

This commit is contained in:
Cristian Maglie 2018-01-18 17:21:40 +01:00
parent bc19d7b57e
commit 8bb20e0402

View File

@ -283,17 +283,7 @@ public class UserLibrary extends ContributedLibrary {
@Override @Override
public String toString() { public String toString() {
String res = "Library: " + name + "\n"; return name + ":" + version + " " + architectures + " " + installedFolder.getAbsolutePath();
res += " (version=" + version + ")\n";
res += " (author=" + author + ")\n";
res += " (maintainer=" + maintainer + ")\n";
res += " (sentence=" + sentence + ")\n";
res += " (paragraph=" + paragraph + ")\n";
res += " (url=" + website + ")\n";
res += " (architectures=" + architectures + ")\n";
if (includes != null)
res += " (includes=" + includes + ")\n";
return res;
} }
} }