A DESCRIPTION OF THE PROBLEM :
Method java.lang.System#lineSeparator first appeared in the specification of Java SE 7. However, it doesn't have the usual " Since: 1.7 " marking that other methods/classes usually have. Please add that marking. These version markings are important for those want to make their code as portable as possible.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
" Since: 1.7 " in the description of method System#lineSeparator.
ACTUAL -
No version marking, suggesting that method System#lineSeparator was introduced in the same version as class System itself.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html
Method java.lang.System#lineSeparator first appeared in the specification of Java SE 7. However, it doesn't have the usual " Since: 1.7 " marking that other methods/classes usually have. Please add that marking. These version markings are important for those want to make their code as portable as possible.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
" Since: 1.7 " in the description of method System#lineSeparator.
ACTUAL -
No version marking, suggesting that method System#lineSeparator was introduced in the same version as class System itself.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html
- duplicates
-
JDK-7082231 Put a @since 1.7 on System.lineSeparator
-
- Closed
-