36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Remove this call from a constructor to the overridable "XXXX" method.
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== on 23 Jun 2015, 07:47:21 Tamas Vajk wrote:
|
|
\[~ann.campbell.2] Other then changing the code sample and removing the "by contract" from the first bullet point, I've added this rule to the SonarQube Way profile. I think this is a really useful rule, which should be enabled by default.
|
|
|
|
|
|
The main difference between C# and Java in this case is that you need to opt in for overridable methods. So you explicitly need to say that ``++DoSomething++`` is ``++virtual++``. So in case of Java you might have just forget to add the ``++final++`` to the method, but in C# you explicitly stated that you are calling and overridable method from the constructor.
|
|
|
|
=== on 23 Jun 2015, 11:51:47 Ann Campbell wrote:
|
|
looks good to me [~tamas.vajk]
|
|
|
|
=== on 15 Mar 2016, 11:49:40 Alban Auzeill wrote:
|
|
Add {cpp} Language-Specification
|
|
|
|
=== on 8 Jun 2023, 11:15:00 Cristian Ambrosini wrote:
|
|
During a LaYC sprint, I removed dummy implementations for the following language:
|
|
|
|
* php
|
|
* python
|
|
* vbnet
|
|
|
|
It is not implemented in the corresponding analyzer and there currently are no tickets open in order to do so.
|
|
|
|
endif::env-github,rspecator-view[] |