Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-148

LogFactory.diagnosticPrefix and diagnosticsStream could be final

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.2
    • Labels:
      None

      Description

      The static fields LogFactory.diagnosticPrefix and diagnosticsStream could be final.

      This would require inlining the code for the private method initDiagnostics() which is only called from the static{} block.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: