rspec/rules/S3010/comments-and-links.adoc

17 lines
718 B
Plaintext

=== is related to: S2696
=== is related to: S3366
=== on 16 Jun 2015, 17:06:04 Nicolas Peru wrote:
\[~ann.campbell.2] I wonder if there are not some overlaps with \http://jira.sonarsource.com/browse/RSPEC-2444
=== on 16 Jun 2015, 18:50:05 Ann Campbell wrote:
\[~nicolas.peru] they're both related to the initialization of ``++static++`` fields, but I don't think they overlap. One advocates initialization at declaration and the other that lazy initialization be ``++synchronized++`` or that lazy-initialized vars be ``++volatile++``. 2 different ways to do it wrong and 3 different ways to do it right.
We could combine them, but IMO, it would be unwieldy.
=== on 23 Jul 2015, 07:40:45 Nicolas Peru wrote:
Ok.