src/share/classes/java/lang/System.java

Print this page

        

@@ -632,10 +632,12 @@
      * returns the same value - the initial value of the {@linkplain
      * #getProperty(String) system property} {@code line.separator}.
      *
      * <p>On UNIX systems, it returns {@code "\n"}; on Microsoft
      * Windows systems it returns {@code "\r\n"}.
+     *
+     * @return the system-dependent line separator string
      * @since 1.7
      */
     public static String lineSeparator() {
         return lineSeparator;
     }