title: Remove Duplicate Lines from Text using Java
body: <p>I was wondering if anyone has logic in java that removes duplicate lines while maintaining the lines order. </p>
  
  <p>I would prefer no regex solution. </p>