
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
22 lines
313 B
Plaintext
22 lines
313 B
Plaintext
== Why is this an issue?
|
|
|
|
include::description.adoc[]
|
|
|
|
=== Noncompliant code example
|
|
|
|
With the default regular expression ``++^[A-Z][a-zA-Z0-9]*$++``:
|
|
|
|
[source,text]
|
|
----
|
|
public interface myInterface {...} // Noncompliant
|
|
----
|
|
|
|
|
|
=== Compliant solution
|
|
|
|
[source,text]
|
|
----
|
|
public interface MyInterface {...}
|
|
----
|
|
|