code: public final <T extends IInvoice, L extends IInvoiceLine<T>> void mkLnFinal(
      final L pLine, final BigDecimal pTotTxs, final BigDecimal pTotTxsFc,
        final Boolean pIsTxByUser) {
      if (pIsTxByUser) {
        if (pLine.getItsOwner().getForeignCurrency() == null) {
          if (pLine.getTotalTaxes().compareTo(pTotTxs) != 0) {
            if (pLine.getDescription() == null) {
              pLine.setDescription(pLine.getTotalTaxes().toString() + "!="
                + pTotTxs + "!");
            } else {
              pLine.setDescription(pLine.getDescription() + " " + pLine
                .getTotalTaxes().toString() + "!=" + pTotTxs + "!");
            }
          }
        } else {
          pLine.setTotalTaxes(pTotTxs);
          if (pLine.getForeignTotalTaxes().compareTo(pTotTxsFc) != 0) {
            if (pLine.getDescription() == null) {
              pLine.setDescription(pLine.getForeignTotalTaxes().toString()
                + "!=" + pTotTxsFc + "!");
            } else {
              pLine.setDescription(pLine.getDescription() + " " + pLine
                .getForeignTotalTaxes().toString() + "!=" + pTotTxsFc + "!");
            }
          }
        }
      } else {
        pLine.setTotalTaxes(pTotTxs);
        pLine.setForeignTotalTaxes(pTotTxsFc);
      }
    }
docs: <p>Makes invoice line final results.</p>
  @param <T> invoice type
  @param <L> invoice line type
  @param pLine invoice line
  @param pTotTxs total line taxes
  @param pTotTxsFc total line taxes FC
  @param pIsTxByUser if tax set by user