Searched refs:lineSeparator (Results 1 – 10 of 10) sorted by relevance
28 String lineSeparator = System.getProperty("line.separator"); in timeDirect() local34 String lineSeparator; in timeFastAndSlow() local36 lineSeparator = System.getProperty("line.separator"); in timeFastAndSlow()38 lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { in timeFastAndSlow()49 String lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { in timeNewAction() local60 String lineSeparator = AccessController.doPrivileged(action); in timeReusedAction() local
39 assertEquals("\n", System.lineSeparator()); in testLineSeparator()41 assertEquals("\n", System.lineSeparator()); in testLineSeparator()48 assertEquals(System.lineSeparator(), sw.toString()); in testLineSeparator()53 assertEquals(System.lineSeparator(), new String(baos.toByteArray(), "UTF-8")); in testLineSeparator()58 assertEquals(System.lineSeparator(), sw.toString()); in testLineSeparator()61 assertEquals(System.lineSeparator(), new Formatter().format("%n").toString()); in testLineSeparator()
54 String nl = System.lineSeparator(); in format()115 String nl = System.lineSeparator(); in formatThrowable()138 sb.append(System.lineSeparator()); in append()161 sb.append(System.lineSeparator()); in getHead()163 sb.append(System.lineSeparator()); in getHead()
51 sb.append(r.getSourceMethodName()).append(System.lineSeparator()); in format()53 sb.append(formatMessage(r)).append(System.lineSeparator()); in format()
227 sb.append(System.lineSeparator()); in listToAppendable()541 writer.write(System.lineSeparator()); in store()545 writer.write(System.lineSeparator()); in store()553 sb.append(System.lineSeparator()); in store()
1471 result = System.lineSeparator(); in transform()
84 private static final String lineSeparator; field in System110 lineSeparator = System.getProperty("line.separator");973 public static String lineSeparator() { in lineSeparator() method in System974 return lineSeparator; in lineSeparator()
161 write(System.lineSeparator()); in newLine()
364 print(System.lineSeparator()); in newline()
472 print(System.lineSeparator()); in println()