|
Duplicate :
|
|
|
Duplicate :
|
|
|
Relates :
|
|
|
Relates :
|
A DESCRIPTION OF THE PROBLEM :
Put a @since 1.7 on System.lineSeparator
(This is platform independent, but this wonderful bug tool force me to choose an OS)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
/**
* Returns the system-dependent line separator string. It always
* 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"}.
* @since 1.7
*/
ACTUAL -
/**
* Returns the system-dependent line separator string. It always
* 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"}.
*/
URL OF FAULTY DOCUMENTATION :
http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/0dcdb13ab6d0
|