Transform diffLines into a immutable set