mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #3462 from raman-bt/develop
Fixes an NPE in the previous commit.
This commit is contained in:
commit
3ba9385102
@ -482,9 +482,11 @@ public class PListViewer extends javax.swing.JPanel implements FileTypeViewer, E
|
||||
}
|
||||
|
||||
void setChildren(final PropKeyValue... children) {
|
||||
this.children = Arrays.stream(children)
|
||||
.map(child -> new PropKeyValue(child))
|
||||
.toArray(PropKeyValue[]::new);
|
||||
if (children != null) {
|
||||
this.children = Arrays.stream(children)
|
||||
.map(child -> new PropKeyValue(child))
|
||||
.toArray(PropKeyValue[]::new);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user