[jira] [Created] (LUCENE-8172) Precommit should fail on synchronization over non-final member variable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-8172) Precommit should fail on synchronization over non-final member variable

JIRA jira@apache.org
Michael Braun created LUCENE-8172:
-------------------------------------

             Summary: Precommit should fail on synchronization over non-final member variable
                 Key: LUCENE-8172
                 URL: https://issues.apache.org/jira/browse/LUCENE-8172
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael Braun


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]