Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2410

Build time detection of System.out/err.print(ln) in source files

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      Source files may have inadvertent System.out/err.print statements left in source files on commit. Ideally we don't want any of these changes being checked in and a large majority of the time logging facilities should be utilized. That being said, there are a number of cases where we don't have access to a logger and must use System.out/err.

      This JIRA will be used to update our checkstyle to scan for unwanted print statements, and fail the build when/if they are encountered.

      Attachments

        1. OPENJPA-2410.patch
          7 kB
          Di Wu Lau
        2. OPENJPA-2410r1.patch
          0.9 kB
          Di Wu Lau
        3. OPENJPA-2410r2.patch
          1 kB
          Di Wu Lau
        4. OPENJPA-2410.1.2.x.patch
          15 kB
          Richard G. Curtis
        5. OPENJPA-2410.2.2.x.patch
          26 kB
          Richard G. Curtis

        Activity

          People

            curtisr7 Richard G. Curtis
            dlau Di Wu Lau
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: