Address review comments

- remove some extraneous code.
This commit is contained in:
Raman 2018-02-14 11:10:02 -05:00
parent 3f18a9c430
commit b6d8fcdb11
2 changed files with 1 additions and 4 deletions

View File

@ -67,10 +67,8 @@ class PListNode extends AbstractNode {
this.propKeyVal = propKeyVal; this.propKeyVal = propKeyVal;
super.setName(propKeyVal.getKey()); super.setName(propKeyVal.getKey());
setName(propKeyVal.getKey()); super.setDisplayName(propKeyVal.getKey());
setDisplayName(propKeyVal.getKey());
if (propKeyVal.getType() == PropertyType.ARRAY) { if (propKeyVal.getType() == PropertyType.ARRAY) {
this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/keychain-16.png"); this.setIconBaseWithExtension("org/sleuthkit/autopsy/images/keychain-16.png");
} else if (propKeyVal.getType() == PropertyType.DICTIONARY) { } else if (propKeyVal.getType() == PropertyType.DICTIONARY) {

View File

@ -79,7 +79,6 @@ public class PListViewer extends javax.swing.JPanel implements FileTypeViewer, E
((DefaultOutlineModel) outline.getOutlineModel()).setNodesColumnLabel("Key"); ((DefaultOutlineModel) outline.getOutlineModel()).setNodesColumnLabel("Key");
Bundle.PListNode_KeyCol();
outlineView.setPropertyColumns( outlineView.setPropertyColumns(
"Type", Bundle.PListNode_TypeCol(), "Type", Bundle.PListNode_TypeCol(),
"Value", Bundle.PListNode_ValueCol()); "Value", Bundle.PListNode_ValueCol());