gtri/orafile

Java 7 requirement instead of Java 6

Closed this issue · 6 comments

Hi,

you are using System.lineSeparator() in your code which is a Java 7 method. But the maven-compiler-plugin is configured to use 1.6.

The line separator is not used throughout the code, sometimes just "\n" is used.
See #3

Agh, yes, I forgot that was new in Java 7.

I'd just as well use \n everywhere, unless someone wants to argue with that. I dislike platform-dependent behavior, and Unix is the one true way...

Fixed.

Why not using something like this:

   public static final String NEW_LINE = System.getProperty("line.separator");

I would prefer that too.

Added issue #7 to change this.