rspec/rules/S116/java/rule.adoc
2020-12-23 14:59:06 +01:00

20 lines
253 B
Plaintext

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