rspec/rules/S1133/java/rule.adoc

41 lines
572 B
Plaintext
Raw Normal View History

== Why is this an issue?
include::../description.adoc[]
=== Noncompliant code example
[source,java]
----
class Foo {
/**
* @deprecated
*/
public void foo() { // Noncompliant
}
@Deprecated // Noncompliant
public void bar() {
}
public void baz() { // Compliant
}
}
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]