Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8172

Precommit should fail on synchronization over non-final member variable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Precommit should fail over synchronization over a non-final member variable such as in SOLR-11980. Because the value can change, it shouldn't be synchronized over. Chances are the declaration should have final but is missing it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mbraun688 Michael Braun
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: