eclipse-aspectj / aspectj

Other
304 stars 86 forks source link

Use System.lineSeparator() instead of hand-crafted method #164

Closed turbanoff closed 2 years ago

turbanoff commented 2 years ago

Original code was written long time ago. Since Java 7 there is ready-to-use method System.lineSeparator()

kriegaex commented 2 years ago

Yes, the helper method was written in 2008. At that time, Java 6 as the current release, Java 7 came in 2011. Nice catch, thank you.