2023-05-03 11:06:20 +02:00
|
|
|
== Why is this an issue?
|
|
|
|
|
|
|
|
=== Noncompliant code example
|
2021-06-08 14:23:48 +02:00
|
|
|
|
|
|
|
With default provided regular expression: XXXXX
|
|
|
|
|
2022-02-04 17:28:24 +01:00
|
|
|
[source,text]
|
2021-06-08 14:23:48 +02:00
|
|
|
----
|
|
|
|
public int DoSomething(){...}
|
|
|
|
----
|
|
|
|
|
|
|
|
|
2023-05-03 11:06:20 +02:00
|
|
|
=== Compliant solution
|
2021-06-08 14:23:48 +02:00
|
|
|
|
2022-02-04 17:28:24 +01:00
|
|
|
[source,text]
|
2021-06-08 14:23:48 +02:00
|
|
|
----
|
|
|
|
public int doSomething(){...}
|
|
|
|
----
|
|
|
|
|
|
|
|
|
2023-05-03 11:06:20 +02:00
|
|
|
=== Exceptions
|
2021-06-08 14:23:48 +02:00
|
|
|
|
|
|
|
Overriding methods are excluded.
|
|
|
|
|
|
|
|
|
2023-05-25 14:18:12 +02:00
|
|
|
[source,text]
|
2021-06-08 14:23:48 +02:00
|
|
|
----
|
|
|
|
@Override
|
|
|
|
public int Do_Something(){...}
|
|
|
|
----
|
|
|
|
|
2022-01-25 18:36:46 +01:00
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
|
|
|
|
'''
|
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
2023-05-25 14:18:12 +02:00
|
|
|
=== on 19 Dec 2014, 19:34:51 Ann Campbell wrote:
|
|
|
|
The intent for this was that it be a sub-task, but there's no indication of what the parent should be.
|
|
|
|
|
2022-01-25 18:36:46 +01:00
|
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|