rspec/rules/S116/java/rule.adoc
Alban Auzeill 2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00

20 lines
262 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression <code>^[a-z][a-zA-Z0-9]*$</code>:
----
class MyClass {
private int my_field;
}
----
== Compliant Solution
----
class MyClass {
private int myField;
}
----