mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
BM: Fixed NPE when supported boards list is empty
This commit is contained in:
parent
e544891718
commit
8079a7cf4c
@ -368,7 +368,9 @@ public class ContributedPlatformTableCell extends InstallerTableCell {
|
||||
for (ContributedBoard board : selected.getBoards()) {
|
||||
desc += board.getName() + ", ";
|
||||
}
|
||||
if (desc.lastIndexOf(',') != -1) {
|
||||
desc = desc.substring(0, desc.lastIndexOf(',')) + ".<br />";
|
||||
}
|
||||
|
||||
ContributedHelp help = null;
|
||||
if (selected.getHelp() != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user