String carrier = legNode.getCarrierType () + ": " + legNode.getCarrierName ();
String prefix = "";  if (legNode.getCarrierType () != null && !legNode.getCarrierType ().equals ("")) { prefix = legNode.getCarrierType () + ": "; }  String suffix = "";  if (legNode.getCarrierName () != null) { suffix = legNode.getCarrierName (); }  String carrier = prefix + suffix;
  protected Lozenge createTransportLozenge (Node leg/*, boolean isFirstLeg*/) {    Lozenge loz = new Lozenge(this, leg);    loz.setLeftTipType(Lozenge.SQUARE_TIP);    loz.setRightTipType(Lozenge.SQUARE_TIP);    loz.setLozengeVirtualXLocation(getStartValue(leg));    loz.setLozengeVirtualXSize(getEndValue(leg) - getStartValue(leg));    String lStr = Node.longDate(getStartValueDate(leg));    String rStr = Node.longDate(getEndValueDate(leg));    String location = null;    if ((((LegNode)leg).getLegType () != DGPSPConstants.LEG_TYPE_TRANSPORTING) &&	(((LegNode)leg).getLegType () != DGPSPConstants.LEG_TYPE_POSITIONING)) {      location = leg.getFromName();      loz.setRelativeHeight(1.0);    } else {      location = leg.getFromName() +"->"+ leg.getToName();      loz.setRelativeHeight(0.3);    }	    if (debug)       TPFDDLoggerFactory.createLogger().logMessage(Logger.NORMAL, Logger.GENERIC, "createTransportLozenge s " + getStartValue(leg) +			  " xsize " + (getEndValue(leg) - getStartValue(leg)) + " s " + 			  lStr + " e " + rStr);    LegNode legNode = (LegNode) leg;    String carrier = legNode.getCarrierType () + ": " + legNode.getCarrierName ();    loz.setLozengeDescription(leg.getDisplayName () + " : " +			      location + " [" + lStr + " - " + rStr + "]" + " on " +			      carrier);    return loz;  }