mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
Made UserLibrary.toString() more concise
This commit is contained in:
parent
bc19d7b57e
commit
8bb20e0402
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user