OpenJPA
  1. OpenJPA
  2. OPENJPA-1015

Enforce 80-column line width for source code

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M2
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      There used to be a rule of 80-column width for source code.
      That rule is slowly yielding.

      Should we add a test case to catch such violation?
      Or should we not reignite the age-old battle about line width, placement of brackets etc?

      1. TestLineWidth.java
        5 kB
        Pinaki Poddar
      2. OPENJPA-1015-test.patch
        585 kB
        B.J. Reed
      3. OPENJPA-1015-plugin-version.patch
        0.6 kB
        Donald Woods
      4. OPENJPA-1015-newlineendoffile.patch
        13 kB
        B.J. Reed
      5. OPENJPA-1015-max80chars.patch
        262 kB
        B.J. Reed
      6. OPENJPA-1015-checkstyle.xml.patch
        2 kB
        Donald Woods
      7. OPENJPA-1015-audit-output.patch
        0.5 kB
        Donald Woods
      8. line80.txt
        17 kB
        Pinaki Poddar

        Issue Links

          Activity

          Pinaki Poddar created issue -
          Pinaki Poddar made changes -
          Field Original Value New Value
          Attachment TestLineWidth.java [ 12404275 ]
          Attachment line80.txt [ 12404276 ]
          B.J. Reed made changes -
          Assignee B.J. Reed [ bjreed ]
          Milosz Tylenda made changes -
          Link This issue relates to OPENJPA-832 [ OPENJPA-832 ]
          B.J. Reed made changes -
          Attachment OPENJPA-1015-max80chars.patch [ 12404452 ]
          B.J. Reed made changes -
          Attachment OPENJPA-1015-newlineendoffile.patch [ 12404492 ]
          Donald Woods made changes -
          Attachment OPENJPA-1015-checkstyle.xml.patch [ 12404540 ]
          Donald Woods made changes -
          Attachment OPENJPA-1015-audit-output.patch [ 12404548 ]
          Donald Woods made changes -
          Attachment OPENJPA-1015-plugin-version.patch [ 12404559 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0 [ 12313483 ]
          B.J. Reed made changes -
          Attachment OPENJPA-1015-test.patch [ 12405186 ]
          Tim McConnell made changes -
          Patch Info [Patch Available]
          Michael Dick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              B.J. Reed
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development