19 lines
295 B
Plaintext
19 lines
295 B
Plaintext
== Noncompliant Code Example
|
|
|
|
[source,text]
|
|
----
|
|
class MyClass {
|
|
|
|
@Deprecated
|
|
public void foo1() { // Noncompliant: Add the missing @deprecated Javadoc tag.
|
|
}
|
|
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
public void foo2() { // Noncompliant: Add the missing @Deprecated annotation.
|
|
}
|
|
|
|
}
|
|
----
|