Skip to content

Commit 46d0f6f

Browse files
committed
Java 6 compatibility
System.lineSeparator() was introducted in Java 7
1 parent 5d93656 commit 46d0f6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/archive/net/PublicSuffixesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public class PublicSuffixesTest extends TestCase {
3838
// test of low level implementation
39-
private final String NL = System.lineSeparator();
39+
private final String NL = System.getProperty("line.separator");
4040

4141
public void testCompare() {
4242
Node n = new Node("hoge");

0 commit comments

Comments
 (0)