Merge pull request #3462 from raman-bt/develop

Fixes an NPE in the previous commit.
This commit is contained in:
Richard Cordovano 2018-02-27 17:08:06 -05:00 committed by GitHub
commit 3ba9385102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -482,10 +482,12 @@ public class PListViewer extends javax.swing.JPanel implements FileTypeViewer, E
}
void setChildren(final PropKeyValue... children) {
if (children != null) {
this.children = Arrays.stream(children)
.map(child -> new PropKeyValue(child))
.toArray(PropKeyValue[]::new);
}
}
}