rspec/rules/S6397/java/rule.adoc

25 lines
293 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
=== Noncompliant code example
[source,java]
----
"a[b]c"
"[\\^]"
----
=== Compliant solution
[source,java]
----
"abc"
"\\^"
"a[*]c" // Compliant, see Exceptions
----
include::../exceptions.adoc[]
include::../implementation.adoc[]