if(unitName !=null && desc != null)
if(unitName !=null && desc != null) {
  private JMenuItem getTPFDDItem(Node selectedNode, 				 String unitName, 				 String unitDBUID){    if( TPFDDItem == null ){      TPFDDItem = new AwareMenuItem();      TPFDDItem.addActionListener(this);    }    TPFDDItem.setNode(selectedNode);    TPFDDItem.setUnitName(unitName);    TPFDDItem.setUnitDBUID(unitDBUID);    TPFDDItem.setActionCommand ("showTPFDD");    TPFDDItem.setName("tpfddItem");    String desc=null;    if(selectedNode instanceof DBUIDNode){      DBUIDNode curNode=(DBUIDNode)selectedNode;      int type=curNode.getType();      if(type==UIDGenerator.CARRIER_PROTOTYPE||	 type==UIDGenerator.CARRIER_INSTANCE||	 type==UIDGenerator.ASSET_PROTOTYPE||	 type==UIDGenerator.ASSET_INSTANCE||	 type==UIDGenerator.CONVOY||	 type==UIDGenerator.LOCATION)	desc=curNode.getDisplayName();    }    String text="New TPFDD";    if(unitName != null)      text+=" for "+unitName;    if(unitName !=null && desc != null)      text+=": ";    else      text+=" ";    if(desc !=null)      text+=desc;    TPFDDItem.setText(text);    return TPFDDItem;  }