2023-05-03 11:06:20 +02:00
|
|
|
== Why is this an issue?
|
|
|
|
|
2020-06-30 10:16:44 +02:00
|
|
|
include::description.adoc[]
|
|
|
|
|
2023-05-25 14:18:12 +02:00
|
|
|
=== 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 {...}
|
|
|
|
----
|
2020-06-30 10:16:44 +02:00
|
|
|
|