Transmission Cooler Line Repair or Replacement???

What are peoples thoughts about repair or replacement of a transmission cooler lines? Compression fitting or replace complete line?