rspec/rules/S139/java/rule.adoc

15 lines
262 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
int a1 = b + c; // This is a trailing comment that can be very very long
----
== Compliant Solution
----
// This very long comment is better placed before the line of code
int a2 = b + c;
----