Add function to public and adjust the javadoc to can show and called
This commit is contained in:
parent
0417a7b27e
commit
dd2c3c0170
|
@ -1,7 +1,7 @@
|
|||
package com.ossez.annotations;
|
||||
|
||||
|
||||
class ClassWithDeprecatedMethod {
|
||||
public class ClassWithDeprecatedMethod {
|
||||
|
||||
/**
|
||||
* Calculate period between versions
|
||||
|
@ -10,14 +10,14 @@ class ClassWithDeprecatedMethod {
|
|||
* * <p> Use {@link ClassWithDeprecatedMethod#updatedMethod()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
static void deprecatedMethod() {
|
||||
public static void deprecatedMethod() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Updated Method instead of deprecatedMethod.
|
||||
*/
|
||||
static void updatedMethod() {
|
||||
public static void updatedMethod() {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue