rspec/rules/S2920/java/rule.adoc

41 lines
743 B
Plaintext
Raw Normal View History

== Why is this an issue?
2021-04-28 16:49:39 +02:00
There is no reason to use Javadoc-specific tags in non-Javadoc comments, and doing to could be confusing.
=== Noncompliant code example
2021-04-28 16:49:39 +02:00
2022-02-04 17:28:24 +01:00
[source,java]
2021-04-28 16:49:39 +02:00
----
// FIXME should be moved to {@link ServerPluginRepository#uninstall(String)} <-- Noncompliant
----
=== Compliant solution
2021-04-28 16:49:39 +02:00
2022-02-04 17:28:24 +01:00
[source,java]
2021-04-28 16:49:39 +02:00
----
// FIXME should be moved to ServerPluginRepository#uninstall(String)
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Remove this "xxx" tag or convert the comment to Javadoc.
'''
== Comments And Links
(visible only on this page)
=== on 8 May 2015, 14:42:36 Ann Campbell wrote:
rule origin: email thread
endif::env-github,rspecator-view[]