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
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
- duplicates
-
JDK-8011796 Missing " Since: 1.7 " marking for java.lang.System#lineSeparator
-
- Closed
-
-
JDK-7094275 javadoc java.lang.System#lineSeparator() missing @since 1.7 annotation
-
- Closed
-
- relates to
-
JDK-7088500 there is no @since tag on SafeVarargs
-
- Closed
-
-
JDK-6900043 Add method to return line.separator property
-
- Resolved
-