Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6939278

Drop code convention to follow casts by blank space

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 7
    • docs
    • 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

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: