-
Enhancement
-
Resolution: Won't Fix
-
P5
-
None
-
7
-
x86
-
windows_xp
A DESCRIPTION OF THE PROBLEM :
Drop code convention to follow casts by blank space
In the "Code Conventions for the JavaTM Programming Language", At 8.2 there is the advice, that casts should be followed by a blank space.
Justification:
- Cast is a one-operand operator like - -- ++, so should better be joined to it's value/expression.
- The above mentioned rule is rarely accepted and used, even in Sun's JDK code base.
Difficult to make progress on maintaining JDK code conventions.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#682
Drop code convention to follow casts by blank space
In the "Code Conventions for the JavaTM Programming Language", At 8.2 there is the advice, that casts should be followed by a blank space.
Justification:
- Cast is a one-operand operator like - -- ++, so should better be joined to it's value/expression.
- The above mentioned rule is rarely accepted and used, even in Sun's JDK code base.
Difficult to make progress on maintaining JDK code conventions.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#682